carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pallavi Singh (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CARBONDATA-394) Carbon Loading data from files having invalid extensions or no extension
Date Thu, 15 Dec 2016 07:03:58 GMT

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

Pallavi Singh commented on CARBONDATA-394:
------------------------------------------

No, I guess carbondata follows hive which behavior which is extension insensitive in nature.


> Carbon Loading data from files having invalid extensions or no extension
> ------------------------------------------------------------------------
>
>                 Key: CARBONDATA-394
>                 URL: https://issues.apache.org/jira/browse/CARBONDATA-394
>             Project: CarbonData
>          Issue Type: Bug
>            Reporter: SWATI RAO
>            Assignee: xbkaishui
>            Priority: Trivial
>
> When I try to run the following queries :
> LOAD DATA inpath 'hdfs://localhost:54310/user/hive/warehouse/file1.csv.csv' INTO table
empdata options('DELIMITER'=',', 'FILEHEADER'='id, name','QUOTECHAR'='"');
> LOAD DATA inpath 'hdfs://localhost:54310/user/hive/warehouse/file2.csv.csv.csv.csv' INTO
table empdata options('DELIMITER'=',', 'FILEHEADER'='id, name','QUOTECHAR'='"');
>  LOAD DATA inpath 'hdfs://localhost:54310/user/hive/warehouse/file3.txttt' INTO table
empdata options('DELIMITER'=',', 'FILEHEADER'='id, name','QUOTECHAR'='"');
> LOAD DATA inpath 'hdfs://localhost:54310/user/hive/warehouse/file4' INTO table empdata
options('DELIMITER'=',', 'FILEHEADER'='id, name','QUOTECHAR'='"');
> LOAD DATA inpath 'hdfs://localhost:54310/user/hive/warehouse/file5.txt.bat.csv' INTO
table empdata options('DELIMITER'=',', 'FILEHEADER'='id, name','QUOTECHAR'='"');
> We should get Input File Errors, but the data is loaded successfully into the Carbon
table.



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

Mime
View raw message