[ 
https://issues.apache.org/jira/browse/HIVE-15153?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15648329#comment-15648329
 ] 

Sergey Shelukhin commented on HIVE-15153:
-----------------------------------------

Why should there be an error? Hive does not use extension in any way.

> Loading data from files having invalid extensions or no extension
> -----------------------------------------------------------------
>
>                 Key: HIVE-15153
>                 URL: https://issues.apache.org/jira/browse/HIVE-15153
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Pallavi Singh
>
> When we execute the following queries:
> LOAD DATA INPATH 'hdfs://localhost:54310/user/hive/warehouse/file1.csv.csv' 
> INTO TABLE emp;
> LOAD DATA INPATH 
> 'hdfs://localhost:54310/user/hive/warehouse/file1.csv.csv.csv.csv' INTO TABLE 
> emp;
> LOAD DATA INPATH 'hdfs://localhost:54310/user/hive/warehouse/file1.txttt' 
> INTO TABLE emp;
> LOAD DATA INPATH 'hdfs://localhost:54310/user/hive/warehouse/file1' INTO 
> TABLE emp;
> LOAD DATA INPATH 
> 'hdfs://localhost:54310/user/hive/warehouse/file1.txt.bat.csv' INTO TABLE emp;
> We should get Input File Error, but we are able to load data successfully 
> into hive table



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to