Synapse serverless CETAS: Error handling external file: 'bad allocation'.

Steven SV 0 Reputation points
2023-09-06T20:05:36.5+00:00

I have a stored procedure that executes a CETAS statement. This SP is called from a synapse pipeline (nightjob) which first deletes the storage folder. Since a couple of days it generates the following error:

Execution fail against sql server. Please contact SQL Server team if you need further support. Sql error number: 15813. Error Message: Error handling external file: 'bad allocation'. File/External table name: 'https://xxx/C643F951-ADAC-432F-9F0A-CC36BA8335C2_14266_0-8.parquet'. Statement ID: {261B9084-788F-4510-8221-C6B47673F3A8} | Query hash: 0x796CCE149A415EC7 | Distributed request ID: {C643F951-ADAC-432F-9F0A-CC36BA8335C2}. Total size of data scanned is 954 megabytes, total size of data moved is 4580 megabytes, total size of data written is 1 megabytes. The statement has been terminated.

This applies to our TEST synapse environment. In the PROD environment (which in fact uses the same source data) the nightjob runs smoothly.

Does anyone have experience with this 'bad allocation' error?

Any help would be much 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.
5,378 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.