This demo showcases DLT-META’s capabilities of creating Bronze and Silver DLT pipelines with initial and incremental mode automatically.
Launch Terminal/Command promt
Install Databricks CLI
databricks auth login --host WORKSPACE_HOST
git clone https://github.com/databrickslabs/dlt-meta.git
cd dlt-meta
Set python environment variable into terminal
dlt_meta_home=$(pwd)
export PYTHONPATH=$dlt_meta_home
Run the command python demo/launch_dais_demo.py --username=<<your databricks username>> --source=cloudfiles --uc_catalog_name=<<uc catalog name>> --cloud_provider_name=aws --dbr_version=13.3.x-scala2.12 --dbfs_path=dbfs:/dais-dlt-meta-demo-automated_new
cloud_provider_name : aws or azure or gcp
db_version : Databricks Runtime Version
dbfs_path : Path on your Databricks workspace where demo will be copied for launching DLT-META Pipelines
you can provide --profile=databricks_profile name
in case you already have databricks cli otherwise command prompt will ask host and token.
In your Databricks workspace, click your Databricks username in the top bar, and then select User Settings from the drop down.
On the Access tokens tab, click Generate new token.
(Optional) Enter a comment that helps you to identify this token in the future, and change the token’s default lifetime of 90 days. To create a token with no lifetime (not recommended), leave the Lifetime (days) box empty (blank).
Click Generate.
Copy the displayed token
Paste to command prompt