[
https://issues.apache.org/jira/browse/HIVE-1181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12836001#action_12836001
]
Zheng Shao commented on HIVE-1181:
----------------------------------
The "drop table" command is dropping wrong tables. Also we should have a
newline at the end of the file.
{code}
--- ql/src/test/queries/clientpositive/disable_file_format_check.q
(revision 0)
+++ ql/src/test/queries/clientpositive/disable_file_format_check.q
(revision 0)
@@ -0,0 +1,8 @@
+set hive.fileformat.check = false;
+create table kv_fileformat_check_txt (key string, value string) stored as
textfile;
+load data local inpath '../data/files/kv1.seq' overwrite into table
kv_fileformat_check_txt;
+
+create table kv_fileformat_check_seq (key string, value string) stored as
sequencefile;
+load data local inpath '../data/files/kv1.txt' overwrite into table
kv_fileformat_check_seq;
+
+drop table kv_fileformat_check;
\ No newline at end of file
{code}
> Make it optional to check file format
> -------------------------------------
>
> Key: HIVE-1181
> URL: https://issues.apache.org/jira/browse/HIVE-1181
> Project: Hadoop Hive
> Issue Type: Improvement
> Reporter: Zheng Shao
> Assignee: He Yongqiang
> Attachments: hive-1181-branch0.5-1.patch,
> hive-1181-branch0.5-2.patch, hive-1181-trunk-1.patch
>
>
> Until MAPREDUCE-1504 is fixed, we need to introduce a way to avoid leaking
> file descriptor because of file format check in the load command.
> We already have the option in {{MoveTask}}. We just need to add a HiveConf
> var to make it configurable.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.