Forum Discussion
Duplicated rows between notebook and SQL Endpoint
- 2 years ago
Hi all, there's apparently a bug where the metadata on which parquet file is the latest and greatest can get hosed up between the lakehouse SQL endpoint and the notebooks. I worked a ticket with Microsoft and they had me run the following code. After running it, wait 30 minutes or so to retry running the notebook. In my case this perfectly fixed the issue.
mssparkutils.fs.unmount("/default", {"scope": "default_lh"})sc._jvm.com.microsoft.spark.notebook.common.trident.TridentRuntimeContext.reset()sc._jvm.com.microsoft.spark.notebook.common.trident.TridentRuntimeContext.personalizeSession()Hope this helps,Scott
Hi all, there's apparently a bug where the metadata on which parquet file is the latest and greatest can get hosed up between the lakehouse SQL endpoint and the notebooks. I worked a ticket with Microsoft and they had me run the following code. After running it, wait 30 minutes or so to retry running the notebook. In my case this perfectly fixed the issue.
Hi Scott_Powell
Thanks for sharing the solution here. Please continue using Fabric Community for any help regarding your queries.