sql-tests.datasets.csv_with_header_and_footer.ddl Maven / Gradle / Ivy
-- type: hive
CREATE %EXTERNAL% TABLE %NAME%
(
c_bigint BIGINT,
c_varchar VARCHAR(255))
ROW FORMAT SERDE 'org.apache.hadoop.hive.serde2.OpenCSVSerde'
STORED AS TEXTFILE
LOCATION '%LOCATION%'
TBLPROPERTIES (
'skip.header.line.count' = '1',
'skip.footer.line.count' = '1')