databrickslabs / dlt-meta

This is metadata driven DLT based framework for bronze/silver pipelines
Other
125 stars 54 forks source link

Integrate append flow API #50

Open ravi-databricks opened 2 months ago

ravi-databricks commented 2 months ago

Integrate append_flow API for following use cases:

  1. One time backfill
  2. Multiple kafka topics writing to same target

API DOCS Ref

ravi-databricks commented 1 month ago
 "bronze_append_flows": [
      {
            "name": "customer_bronze_flow",
            "create_streaming_table": false,
            "source_format": "cloudFiles",
            "source_details": {
               "source_path_it": "{dbfs_path}/integration_tests/resources/data/customers_af",
               "source_schema_path": "{dbfs_path}/integration_tests/resources/customers.ddl"
            },
            "reader_options": {
               "cloudFiles.format": "json",
               "cloudFiles.inferColumnTypes": "true",
               "cloudFiles.rescuedDataColumn": "_rescued_data"
            },
            "once": false
      }
   ]