InvisibleProgrammer commented on code in PR #5265:
URL: https://github.com/apache/hive/pull/5265#discussion_r1618419197


##########
ql/src/test/queries/clientpositive/file_with_delimiter.q:
##########
@@ -0,0 +1,19 @@
+create external table test(code string,name string)
+ROW FORMAT SERDE
+   'org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe'
+ WITH SERDEPROPERTIES (
+   'field.delim'='\t')
+ STORED AS INPUTFORMAT
+   'org.apache.hadoop.mapred.TextInputFormat'
+ OUTPUTFORMAT
+   'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'
+   location '${system:test.tmp.dir}/test'
+ TBLPROPERTIES (
+   'skip.header.line.count'='1',
+   'textinputformat.record.delimiter'='|');
+
+
+   LOAD DATA LOCAL INPATH '../../data/files/header_footer_table_4/0003.txt' 
INTO TABLE test;
+
+
+   Select count(*) from test;

Review Comment:
   Could you please add select * to the output as well? Just to make sure we 
receive the expected output. 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to