admin管理员组文章数量:1430061
I'm running a Azure Data Factory pipeline, which also runs SQL queries against .parquet files in Storage Account Datalake attached to a Synapse Serverless Database in order to create new external tables with CETAS (CREATE EXTERNAL TABLE AS) expression. The query looks like:
IF OBJECT_ID('DatabaseName.tmp.TableName') IS NOT NULL DROP EXTERNAL TABLE DatabaseName.tmp.TableName;
CREATE EXTERNAL TABLE DatabaseName.tmp.TableName
WITH (
LOCATION = 'space=tmp/table=TableName/',
DATA_SOURCE = myDataSource,
FILE_FORMAT = myFileFormat (parquet)
) AS
SELECT * FROM DatabaseName.dbo.TableName;
The problem is I have 50% chance to get an error with the message like :
Operation on target Creat TMP Table failed: Error handling external file: 'IO request completed with an error. ERROR = 0x00000057'. Underlying data description: table 'DatabaseName.dbo.TableName'
However, if I run the pipeline one more time, it runs successfully. After a while I can run it one more time, and I'll get an error. I would be glad if someone could point out the cause of this failure.
I'm running a Azure Data Factory pipeline, which also runs SQL queries against .parquet files in Storage Account Datalake attached to a Synapse Serverless Database in order to create new external tables with CETAS (CREATE EXTERNAL TABLE AS) expression. The query looks like:
IF OBJECT_ID('DatabaseName.tmp.TableName') IS NOT NULL DROP EXTERNAL TABLE DatabaseName.tmp.TableName;
CREATE EXTERNAL TABLE DatabaseName.tmp.TableName
WITH (
LOCATION = 'space=tmp/table=TableName/',
DATA_SOURCE = myDataSource,
FILE_FORMAT = myFileFormat (parquet)
) AS
SELECT * FROM DatabaseName.dbo.TableName;
The problem is I have 50% chance to get an error with the message like :
Operation on target Creat TMP Table failed: Error handling external file: 'IO request completed with an error. ERROR = 0x00000057'. Underlying data description: table 'DatabaseName.dbo.TableName'
However, if I run the pipeline one more time, it runs successfully. After a while I can run it one more time, and I'll get an error. I would be glad if someone could point out the cause of this failure.
Share Improve this question asked Nov 19, 2024 at 14:11 OlehOleh 616 bronze badges 2- Are you able to create external table successfully? – Bhavani Commented Nov 19, 2024 at 14:37
- Hi @Oleh Please check the below answer and let me know if it fits your requirement or not? – Bhavani Commented Nov 20, 2024 at 18:21
1 Answer
Reset to default 0Operation on target Creat TMP Table failed: Error handling external file: 'IO request completed with an error. ERROR = 0x00000057'. Underlying data description: table 'DatabaseName.dbo.TableName'
According to this
It seems that the issue is related to IO errors when querying external files in Azure Gen2 storage. This can happen if the files are being written to while the query is running, or if there are issues with the network connectivity or storage performance. That may be the reason to get above error.
- Ensure the files being queried are static and not modified during the pipeline execution.
- Check if there are other services or processes accessing or modifying the files simultaneously.
By following above instructions, I was able to run pipeline successfully to create external table in serverless pool as shown below:
External table:
For more information you can refer to the similar thread.
本文标签:
版权声明:本文标题:Azure Synapse Serverless - Error handling external file: 'IO request completed with an error. ERROR = 0x00000057' 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745556013a2663190.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论