Share via

Unable to load data to Synapse Dedicated pool from Gen2 datalake blob(s) - Python

Nikita Thomas 1 Reputation point
2022-12-04T19:22:07.6+00:00

Hello,

We are experiencing an error when attempting to create a temp table and then insert into the permanent table in Synapse. The error we're receiving:

pyodbc.ProgrammingError: ('42000', '[42000] [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Not able to validate external location because The remote server returned an error: (409) Conflict. (105215) (SQLExecDirectW)')

  1. So far I've checked all the blobs for leases, which there are none
  2. Since the script is generated in Python, I copied the created SQL and ran it directly in Synapse, both the copy into and insert into - ran flawlessly
  3. The only salient info from searching the web is that it might be a versioning issue with the blob, but since I've run the other blobs successfully I doubt that is it

Any help would be appreciated. Thanks

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.

{count} votes

Your answer

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