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.

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.

If there isn’t a group near you, start one and help create a community that brings people together.

Request a New Group