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

Join us at the 2025 Microsoft Fabric Community Conference. March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for $400 discount. 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
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!

FebFBC_Carousel

Fabric Monthly Update - February 2025

Check out the February 2025 Fabric update to learn about new features.

Feb2025 NL Carousel

Fabric Community Update - February 2025

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

Top Solution Authors