Synapse Serverless SQL external table returns old data

Nelia Steenkamp 0 Reputation points
2024-09-27T11:01:11.09+00:00

An external table created in a Synapse Serverless SQL pool for an Azure Storage account Delta Table is not showing the data as it is in the Delta table.

 

When the external table was initially created the data in the table was incorrect. The decision was made to drop and recreate the Delta Table in the Azure Storage Account. Please take note that the structure of the table was not changed, just the data.

 

When the external table is queried the data that is returned is still the old incorrect data. However, when the data is queried from Azure Databricks the data is correct. Also, when queried from Synapse Serverless SQL using OPENROWSET the data is correct.

 

The external table was dropped and recreated, but the data returned remains the old incorrect data. Also, the Delta Table Optimize and Vacuum functions have been run.

Any guidance would be appreciated.

Azure Synapse Analytics
Azure Synapse Analytics
An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
4,903 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.