Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
innocence84
Helper I
Helper I

Initial load of spark streams

Hi all,

Operational system is sending transaction data to Kafka topic, then it is ingested into bronze layer in the lakehouse by using Spark Streaming. Example table name is SALES_delta

Operational system gets historical data from SQL Server. Then we are ingesting this into bronze layer by using Spark batch processing. Example table name is SALES.

In this architecture we have two sales table, SALES Table is loaded once and SALES_delta is loaded whenever new sales transactions occured.

When and how will we combine these two tables so we may have one table for sales transactions?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi  @innocence84 
Thank you for reaching out microsoft fabric community forum.

You have two tables:

  • SALES: one-time historical load from SQL Server
  • SALES_delta: ongoing new transactions via streaming from Kafka

To get a complete view of sales, you should combine them into a single table (e.g., SALES_silver) after the historical load is done and streaming is stable.

How to combine:

  • If SALES_delta only has new rows, use INSERT to append to SALES_silver.
  • If it includes updates or late data, use a Delta MERGE to handle both inserts and updates.

This unified table (SALES_silver) becomes your single source of truth, and you can stop querying SALES and SALES_delta separately.
If this solution helps, please consider giving us Kudos and accepting it as the solution so that it may assist other members in the community
Thank you.

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Hi @innocence84 
I hope this information is helpful. Please let me know if you have any further questions or if you'd like to discuss this further. If this answers your question, please Accept it as a solution and give it a 'Kudos' so others can find it easily.
Thank you.

Anonymous
Not applicable

Hi @innocence84 
I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If my response has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.
Thank you.

Anonymous
Not applicable

Hi @innocence84 

May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.

Thank you.

 

Anonymous
Not applicable

Hi  @innocence84 
Thank you for reaching out microsoft fabric community forum.

You have two tables:

  • SALES: one-time historical load from SQL Server
  • SALES_delta: ongoing new transactions via streaming from Kafka

To get a complete view of sales, you should combine them into a single table (e.g., SALES_silver) after the historical load is done and streaming is stable.

How to combine:

  • If SALES_delta only has new rows, use INSERT to append to SALES_silver.
  • If it includes updates or late data, use a Delta MERGE to handle both inserts and updates.

This unified table (SALES_silver) becomes your single source of truth, and you can stop querying SALES and SALES_delta separately.
If this solution helps, please consider giving us Kudos and accepting it as the solution so that it may assist other members in the community
Thank you.

Helpful resources

Announcements
FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Fabric Update Carousel

Fabric Monthly Update - March 2026

Check out the March 2026 Fabric update to learn about new features.