I encountered a problem when I tried to modify a Synapse delta table from a Synapse Notebook. I used the ALTER TABLE command to add a new column to the table, and I verified that the column was created by using the DESCRIBE and SELECT commands. However, when I checked the Lake database in the Azure portal, I could not see the new column under the table properties. Also, the new column was missing from the sys.columns list.
I wonder why there is a discrepancy between the DESCRIBE and the portal views of the table, and how I can fix it.
Thanks
I wonder why there is a discrepancy between the DESCRIBE and the portal views of the table, and how I can fix it.
I tried it in my environment and faced similar issue with the lake database table when altering it from synapse.
The issue might cause when there is a delay in refresh of metadata. You can try below steps to resolve it:
REFRESH TABLE <table_name>
Now it's working for me: