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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
supriyapandey19
Helper III
Helper III

Upsert operation in KQL db to update existing records while loading data using Eventstream

Hi,

 

Can we do Upsert operation in KQL db to update existing records while loading data using Eventstream.

I have the scenario of updating the existing records in KQL db while loading real time data using Evenstream instead of loading duplicate data every time eventsream is run.

 

Any article, workarounds or refernece would be appreciated.

 

 

Thanks.

1 ACCEPTED SOLUTION
datacoffee
Most Valuable Professional
Most Valuable Professional

Great news here (I know this is an old post) but UPDATE and DELETE has been introduced to the Kusto engine.

 

I've done some bloggin about the topic - please feel free to read it here: Updates and Deletes in the KQL engine

View solution in original post

3 REPLIES 3
datacoffee
Most Valuable Professional
Most Valuable Professional

Great news here (I know this is an old post) but UPDATE and DELETE has been introduced to the Kusto engine.

 

I've done some bloggin about the topic - please feel free to read it here: Updates and Deletes in the KQL engine

BrianSherwin
Microsoft Employee
Microsoft Employee

KQL databases are append only. Per your request for an article, check out this post:
How to handle data updates in Azure Data Explorer - Microsoft Community Hub

v-tangjie-msft
Community Support
Community Support

Hi @supriyapandey19 ,

 

In the realm of KQL (Kusto Query Language) databases, the concept of an "upsert" operation, as traditionally understood in databases like SQL, does not directly apply. KQL databases are designed to append data efficiently and are optimized for fast data ingestion and querying. This design choice means that KQL databases do not natively support updating or deleting individual records once they have been ingested.

 

You can post your idea to Ideas. https://ideas.powerbi.com/ideas/

 

Best Regards,

Neeko Tang

If this post  helps, then please consider Accept it as the solution  to help the other members find it more quickly. 

 

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

Find out what's new and trending in the Fabric Community.

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

November Update

Fabric Monthly Update - November 2024

Check out the November 2024 Fabric update to learn about new features.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Top Solution Authors
Top Kudoed Authors