cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple streaming sources to the single delta live table

Sinthiya
New Contributor II

In our case, we have multiple sources writing to the same target table.  A target table can be populated from multiple source tables, each contributing a set of fields. 

How to add/update columns in a target table from multiple sources.

In a delta live table, how to push/pop objects from an array column. Arrays from multiple sources as well.

 

 SQL STATEMENT :

 

CREATE OR REFRESH STREAMING TABLE member_gold;

APPLY CHANGES INTO
live.member_gold
FROM
stream(LIVE.silver_contacts_fromcontactsfile)
KEYS
(clientMemberId)
SEQUENCE BY
clientMemberId
STORED AS
SCD TYPE 1;
 
APPLY CHANGES INTO
live.member_gold
FROM
stream(LIVE.silver_demographic)
KEYS
(clientMemberId)
SEQUENCE BY
clientMemberId
STORED AS
SCD TYPE 1;
1 REPLY 1

SaiKiranGajjala
New Contributor II

Following.

Join 100K+ Data Experts: Register Now & Grow with Us!

Excited to expand your horizons with us? Click here to Register and begin your journey to success!

Already a member? Login and join your local regional user group! If there isn’t one near you, fill out this form and we’ll create one for you to join!