Forum Discussion
Limitations on Lakehouse table columns in SQL endpoint?
Hi, does anyone know if there's a limitation on table columns in the SQL endpoints of a Lakehouse? I've got a table which tracks county statistics that has 720 columns. I was able to load this table with no issues using a notebook. See image 1 below - the table (Raw_CHS) shows up fine in the Lakehouse explorer, and displays preview data with no issues. Also I'm able to query it from a 2nd notebook and build additional dimension tables from it.
However, I'm unable to get the table to show up in the SQL endpoint, see image 2 below.
Also, a "select top 100 * from Raw_CHS" fails (image 3) with an Invalid Object Name error.
Any ideas? I was unable to find any documentation showing limits to the number of columns a table can have in the documentation.
Thanks,
Scott
Image 1: Lakehouse view
Image 2: SQL Endpoint - table doesn't show:
Image 3: SQL query fails on the table
5 Replies
- v-cboorla-msft
Microsoft Employee
Hi Scott_Powell
Thanks for using Microsoft Fabric Community.
Apologies for the issue that you are facing.
As I understand that you were able to see the "Raw_CHS" table in the Lakehouse explorer, but the same table is not shown in the SQL Endpoint.
Could you please confirm the type of the table "Raw_CHS"? Is it managed table or external table?
- Scott_Powell
Helper V
Hi v-cboorla-msft , it's definitely a managed table. The only thing "odd" about it is that it has a large number of columns - 700 or so. I hadn't seen this on any other table, so I'm kinda assuming the large # of columns is what did it.
I'm happy to open a support ticket, or take a Teams call from anyone that needs more details.
Thanks,
Scott- v-cboorla-msft
Microsoft Employee
Hi Scott_Powell
Thanks for your response.
We are reaching out to the internal team to get more information related to your query and will get back to you as soon as we have an update.