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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request 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
Super User
Super User

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


If you find this reply to help with your problem, please consider hitting the accept button...
----------------
Blog: https://dcode.bi
KQL ref guide: https://aka.bi/kql
LinkedIn: https://aka.bi/follow

View solution in original post

3 REPLIES 3
datacoffee
Super User
Super User

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


If you find this reply to help with your problem, please consider hitting the accept button...
----------------
Blog: https://dcode.bi
KQL ref guide: https://aka.bi/kql
LinkedIn: https://aka.bi/follow
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

Anonymous
Not applicable

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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

Real Time Intelligence in a Day

Real-Time Intelligence in a Day—Free Training

Turn streaming data into instant insights with Microsoft Fabric. Learn to connect live sources, visualize in seconds, and use Copilot + AI for smarter decisions.

October Fabric Update Carousel

Fabric Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors