Oracle AI Data Platform Idea Lab

Welcome to the Oracle Analytics Community: Please complete your User Profile and upload your Profile Picture

Support DDLs in External Catalogs

5
Views
0
Comments
DMD
DMD Rank 3 - Community Apprentice

Currently, in order to write data to an external catalog configured in AIDP, there needs to be a pre-existing table defined in the target database (i.e. DDL operations are not supported in configured external catalogs through spark API).

This creates some inefficiencies in managing your gold layer, since some type of step in between defining your silver layer and loading to your gold layer (assuming you maintain gold in something like ADW) requires you to step out of the AIDP APIs and create a DDL "manually".

Although a customer might be able to automate this through things like the ORACLEDB package, having the spark catalog abstractions would make it significantly easier process to do something like df.write.mode("overwrite").saveAsTable('tablenamehere'), which would infer source spark data types, structure, etc and map to DDL to both generate/update the DDL and handle the DML operations together, rather than handle DDL separately.

1
1 votes

Submitted · Last Updated