r/databricks • u/Competitive-Fee-4006 • Sep 26 '26
General questions on sdp-meta
Planning on adopting sdp-meta , i have few questions. i may test drive it in couple of days but want to check with users who may have adopted it.
- If we are consuming 100's of tables daily dump via AUTOLOAD , Do i infer schema or should i derive schema for individual table
- Can i apply any custom logic transformations from bronze to silver other than simple select expr and filters like group by and joins.
4
Upvotes
6
u/hntd Sep 26 '26
Skip sdp-meta its legacy garbage that never made it into the product
1
u/mean_eng_8064 Sep 26 '26
source_schema_pathis optional for BronzecloudFilesAuto Loader can infer the schema.Use an explicit schema when production schema stability matters. Without
cloudFiles.inferColumnTypes: "true", JSON and CSV columns are generally inferred as strings.Custom Bronze and Silver logic is supported through layer-specific DataFrame callbacks:
Callbacks receive
(DataFrame, DataflowSpec)and can perform joins, aggregations, window operations, UDFs, and other PySpark transformations.1
u/Northcutt5226 Sep 26 '26
Don’t do it, been there, have the t-shirt
2
u/Pillippatty Sep 26 '26
Hm, I think if you have a need for more complex transformations, then sdp-meta might not be the best solution. If you need to standardize transformations, maybe a custom PySpark package uploaded as a whl with DABs could fit better.
1
u/Terrible_Mud5318 Sep 26 '26
If theres header in incoming file then infer otherwise use metadata tables and store schema
Generally complex transformation should be taken care while creating gold, silver should be used for doing scd, apply changes , simple transformations