[jira] [Commented] (CARBONDATA-394) Carbon Loading data from files having invalid extensions or no extension

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (CARBONDATA-394) Carbon Loading data from files having invalid extensions or no extension

Akash R Nilugal (Jira)

    [ 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)