March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
I have a delta table in lakehouse which is populated by a notebook from another delta table
When I query the table ditrect I see records that I dont see when I query the table fromn the SQL endpoint
I have seen sync issues to the sql endpoint before (created objects in lakehouse appear in the sql endpoint after some time) but I have not seen this issue before. I was thinking that it could take a while before the sql endpoint is refreshed but it has now been a couple of hours.
Has anyone else seen this?
Hi @joakimfenno ,
Is my follow-up just to ask if the problem has been solved?
If so, can you accept the correct answer as a solution or share your solution to help other members find it faster?
Thank you very much for your cooperation!
Best Regards,
Yang
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
the sql endoint synced after two days, but I dont understand why/how
@joakimfenno I am in the same boat as you. Can you please confirm me 1 thing if possible, after you perform the delta table operations, if you manually refresh following this, does the sql endpoint sync immediately ? src - https://learn.microsoft.com/en-us/fabric/data-warehouse/sql-analytics-endpoint-performance
Yes I tried that
I will try again next time this occurs and get back
Hi @joakimfenno ,
Sometimes, there is a delay in synchronization, albeit a long time.
If the issue has been resolved, can you please mark this post as "Answered"?
Best Regards,
Yang
Community Support Team
for some cases its hard to tell is cases are resolved or not 🙂
in my case the sql endpoint were in sync two days later - is that expected or a bug?
You wrote that "Under normal conditions, the lag between updates in the Lakehouse and the SQL endpoint should be less than a minute. If there are many partitions in your Delta tables, the sync might take longer due to the service parsing a large Delta log."
in my case we did not have any partitions
Hi @joakimfenno ,
Thank you all for your attention to this case.
Here are a few potential reasons and solutions:
Under normal conditions, the lag between updates in the Lakehouse and the SQL endpoint should be less than a minute. If there are many partitions in your Delta tables, the sync might take longer due to the service parsing a large Delta log.
If you have used column name mapping to alter your table, it might stop syncing to the SQL endpoint.
You can try forcing a sync manually by updating the table on OneLake or waiting for the sync to complete automatically.
If you have any other questions please feel free to contact me.
Best Regards,
Yang
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
Here is some documentation regarding SQL Analytics Endpoint performance:
https://learn.microsoft.com/en-us/fabric/data-warehouse/sql-analytics-endpoint-performance
Also, if you by chance have used column name mapping to alter your table, it will stop syncing to the SQL Analytics Endpoint.
Thank you for providing the MS learn link.
"Under normal operating conditions, the lag between a lakehouse and SQL analytics endpoint is less than one minute."
The lag between lakehosue and SQL endpoint was showing the difference for me and MS Learn does confirm the lag as it takes around 1 minute to update the SQL endpoint. In my secnario, I needed to access the data right after updating the lakehouse table, hence I was getting the difference.
Yes this is a known issue. Do you have a lot of partitions in your Delta tables? People have been reporting that the larger number of partitions they have, the longer the sync takes due to the service having to parse a large Delta log.
Hi @joakimfenno , thank you for raising this issue. I've seen the similar issue when accessing the data right after overwritting the Lakehouse delta table via Notebook. Sometimes, the SQL endpoint returns the old data regardless of the new data available in the delta table when it's read by the Lookup activity in the pipeline. This must be an issue at Fabric side that requires their attention to patch in the next releases.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
8 | |
1 | |
1 | |
1 | |
1 |