I have a U-SQL script that generates a CSV file in Azure storage and an external table in Azure SQL Data Warehouse (SDW) using PolyBase to read this CSV file.
When the CSV file is generated using the U-SQL script, the SDW cannot read the data and throws an exception:
Msg 110802, Level 16, State 1, Line 152 110802; DMS internal error An error occurred that caused this operation. Details: Exception: Microsoft.SqlServer.DataWarehouse.DataMovement.Common.ExternalAccess.HdfsAccessException, Message: Java exception caused by calling HdfsBridge_RecordReaderFillBuffer: error [Cannot get Java exception.] While accessing external file [/ csv / 2015-02-13-13 /all.csv.BIZ[0].
However, if I download this CSV file to a local disk and load it in the same way as without changing it to the same place with the same file name, SDW can run queries against it without problems.
Any ideas?
source share