Forum Discussion
Lakehouse Tables Not Appearing in SQL Endpoint Schema
- 1 year ago
Thank you all for your support! I was able to successfully create the delta tables, and they are now visible in the SQL endpoint. I must admit, the issue was due to blank spaces in the column names, and a blank line at the end of the files. Once I removed those, everything worked OK!
Through this process, I also added code to catch exceptions and handle blank spaces, which will help similar issues in the future.
A special thank you to Anonymous and AndyDDC -- I appreciate you both for checking in and providing support. Thank you!
Hi v-huijie-msft and AndyDDC Thank you both for your responses. I confirmed that the Lakehouse preview option was unchecked, and the delta format was set using the SaveAsTable command. Despite these settings, the tables still aren’t appearing under the Lakehouse SQL endpoint immediately.
Interestingly, some tables appeared today after a couple of days. I ran the Spark notebook again to see if it would resolve the issue, but there was no change. I plan to check the Lakehouse SQL endpoint again tomorrow to see if the tables appear. If tables are delayed by several hours or more before showing up, this behavior wouldn’t be acceptable for a production environment.
I appreciate any additional insights or suggestions you might have on addressing this delay. Thanks again for your help!
Hi BCBSTnathan ,
Here are a few suggestions that might help:
Sometimes, there can be a delay in the synchronization between the Spark catalog and the SQL endpoint. This might explain why some tables appeared after a couple of days.
There could be a schema mismatch issue. Make sure that the schema in which the tables are created matches the schema expected by the SQL endpoint.
Someone here has had a similar problem to you, please see if that helps:
Solved: Delta Tables in LakeHouse missing in SQL Endpoint - Microsoft Fabric Community
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!