tblproperties ("skip.header.line.count"="1");
-- Once the table property is set, queries skip the specified number of lines
-- at the beginning of each text data file. Therefore, all the files in the table
-- should follow the same convention for header lines.
1条答案
按热度按时间cnjp1d6j1#
是的,您仍然需要创建一个外部表并定义列名和类型。但是您必须在CREATETABLE语句的末尾传递以下选项