-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #83 from databrickslabs/82-create-demo-to-showcase…
…-fanout-architecture-in-silver-layer-using-dlt-meta Added demo to showcase: Silver fanout architecture used cars input dataset containing rows for different countries created 5 silver tables from single cars tables based on filter condition
- Loading branch information
Showing
20 changed files
with
30,470 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
[ | ||
{ | ||
"data_flow_id": "100", | ||
"data_flow_group": "A1", | ||
"source_system": "mysql", | ||
"source_format": "cloudFiles", | ||
"source_details": { | ||
"source_path_demo": "{dbfs_path}/demo/resources/data/cars" | ||
}, | ||
"bronze_database_demo": "{uc_catalog_name}.{bronze_schema}", | ||
"bronze_table": "cars", | ||
"bronze_reader_options": { | ||
"cloudFiles.format": "csv", | ||
"cloudFiles.rescuedDataColumn": "_rescued_data", | ||
"header": "true" | ||
}, | ||
"silver_database_demo": "{uc_catalog_name}.{silver_schema}", | ||
"silver_table": "cars_usa", | ||
"silver_transformation_json_demo": "{dbfs_path}/demo/conf/silver_transformations_cars.json" | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
[ | ||
{ | ||
"data_flow_id": "101", | ||
"data_flow_group": "A1", | ||
"bronze_database_demo": "{uc_catalog_name}.{bronze_schema}", | ||
"bronze_table": "cars", | ||
"silver_database_demo": "{uc_catalog_name}.{silver_schema}", | ||
"silver_table": "cars_germany", | ||
"silver_transformation_json_demo": "{dbfs_path}/demo/conf/silver_transformations_cars.json" | ||
}, | ||
{ | ||
"data_flow_id": "102", | ||
"data_flow_group": "A1", | ||
"bronze_database_demo": "{uc_catalog_name}.{bronze_schema}", | ||
"bronze_table": "cars", | ||
"silver_database_demo": "{uc_catalog_name}.{silver_schema}", | ||
"silver_table": "cars_uk", | ||
"silver_transformation_json_demo": "{dbfs_path}/demo/conf/silver_transformations_cars.json" | ||
}, | ||
{ | ||
"data_flow_id": "103", | ||
"data_flow_group": "A1", | ||
"bronze_database_demo": "{uc_catalog_name}.{bronze_schema}", | ||
"bronze_table": "cars", | ||
"silver_database_demo": "{uc_catalog_name}.{silver_schema}", | ||
"silver_table": "cars_japan", | ||
"silver_transformation_json_demo": "{dbfs_path}/demo/conf/silver_transformations_cars.json" | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
[ | ||
{ | ||
"target_table": "cars_usa", | ||
"select_exp": [ | ||
"concat(first_name,' ',last_name) as full_name", | ||
"country", | ||
"brand", | ||
"model", | ||
"color", | ||
"cc_type" | ||
], | ||
"where_clause": ["country = 'United States'"] | ||
}, | ||
{ | ||
"target_table": "cars_germany", | ||
"select_exp": [ | ||
"concat(first_name,' ',last_name) as full_name", | ||
"country", | ||
"brand", | ||
"model", | ||
"color", | ||
"cc_type" | ||
], | ||
"where_clause": ["country = 'Germany'"] | ||
}, | ||
{ | ||
"target_table": "cars_uk", | ||
"select_exp": [ | ||
"concat(first_name,' ',last_name) as full_name", | ||
"country", | ||
"brand", | ||
"model", | ||
"color", | ||
"cc_type" | ||
], | ||
"where_clause": ["country = 'United Kingdom'"] | ||
}, | ||
{ | ||
"target_table": "cars_japan", | ||
"select_exp": [ | ||
"concat(first_name,' ',last_name) as full_name", | ||
"country", | ||
"brand", | ||
"model", | ||
"color", | ||
"cc_type" | ||
], | ||
"where_clause": ["country = 'Japan'"] | ||
} | ||
] |
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.