Skip header rows on SQL Data Warehouse PolyBase load
Опубликовано 22 февраля 2018 г.
Delimited text files are often created with a header row that contains the column names. These rows need to be excluded from the data set during the load. Azure SQL Data Warehouse users can now skip these rows by using the First_Row option in the delimited text file format for PolyBase loads.
See related feedback from Azure customers
Setting reject rows in Polybase to ignore the header row is a hack. And if you have all string columns your header won't be rejected. Please add an IGNORE_HEADER_ROWS = <numRows> option to PolybaseGreg Galloway