【发布时间】:2021-10-31 09:02:52
【问题描述】:
尝试加载以下 parquet 文件会导致 Unexpected end of stream 错误。或许 parquet 文件已损坏?
预期查询
SELECT * FROM OPENROWSET(
BULK N'/path/to/my.parquet',
DATA_SOURCE='my_blob_datasource',
FORMAT='PARQUET'
) as somehow_necessary_alias
错误说明
Statement ID: {1F956C7F-FA37-4D34-AC0D-D4BDF8336160}
Query hash: 0x729ED47717032037
Distributed request ID: {5815A501-2179-4968-BE71-3B7AACFE717C}.
Total size of data scanned is 27 megabytes,
total size of data moved is 290 megabytes,
total size of data written is 0 megabytes.
Msg 15813, Level 16, State 1, Line 1 Error handling external file:
'Unexpected end of stream'. File/External table name:
https://mystorageaccount.blob.core.windows.net/mycontainer/path/to/my.parquet
【问题讨论】:
-
你能把文件也附上吗?
-
@maya-msft 没有文件,但我至少提供了一个解释!
标签: tsql parquet azure-synapse