You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@carbondata.apache.org by "Manish Gupta (JIRA)" <ji...@apache.org> on 2017/01/12 14:44:51 UTC

[jira] [Commented] (CARBONDATA-592) In Single pass loading ,when we not set ALL_DICTIONARY_PATH still it is showing error for that in logs

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

Manish Gupta commented on CARBONDATA-592:
-----------------------------------------

@Payal...SINGLE pass is implemented only for no kettle flow. So this is correct behavior. If use_kettle is set to true in all_dictionary_path is empty in that case only single pass will be used if it is set in the data load options. So I think you can close this jira.

> In Single pass loading ,when we not set ALL_DICTIONARY_PATH still it is showing error for that in logs
> ------------------------------------------------------------------------------------------------------
>
>                 Key: CARBONDATA-592
>                 URL: https://issues.apache.org/jira/browse/CARBONDATA-592
>             Project: CarbonData
>          Issue Type: Bug
>          Components: data-load
>    Affects Versions: 1.0.0-incubating
>            Reporter: Payal
>            Assignee: Manish Gupta
>            Priority: Minor
>         Attachments: 7000_UniqData.csv, single_pass.png
>
>
> In Single Pass loading , When we Execute the load query without ALL_DICTIONARY_PATH with single_pass true it is showing the ERROR ---
>  main Can't use single_pass, because SINGLE_PASS and ALL_DICTIONARY_PATHcan not be used together, and USE_KETTLE must be set as false
> For Example: /CREATE TABLE
> CREATE TABLE uniqdata_INCLUDEDICTIONARY (CUST_ID int,CUST_NAME String,ACTIVE_EMUI_VERSION string, DOB timestamp, DOJ timestamp, BIGINT_COLUMN1 bigint,BIGINT_COLUMN2 bigint,DECIMAL_COLUMN1 decimal(30,10), DECIMAL_COLUMN2 decimal(36,10),Double_COLUMN1 double, Double_COLUMN2 double,INTEGER_COLUMN1 int) STORED BY 'org.apache.carbondata.format' TBLPROPERTIES('DICTIONARY_INCLUDE'='CUST_ID,CUST_NAME,ACTIVE_EMUI_VERSION,DOB,DOJ,BIGINT_COLUMN1,BIGINT_COLUMN2,DECIMAL_COLUMN1,DECIMAL_COLUMN2,Double_COLUMN1,Double_COLUMN2,INTEGER_COLUMN1');
> //LOAD DATA
> LOAD DATA INPATH 'hdfs://localhost:54310/Huawei/uniqdata/7000_UniqData.csv' into table uniq_include_dictionary OPTIONS('DELIMITER'=',' , 'QUOTECHAR'='"','BAD_RECORDS_LOGGER_ENABLE'='TRUE', 'BAD_RECORDS_ACTION'='FORCE','FILEHEADER'='CUST_ID,CUST_NAME,ACTIVE_EMUI_VERSION,DOB,DOJ,BIGINT_COLUMN1,BIGINT_COLUMN2,DECIMAL_COLUMN1,DECIMAL_COLUMN2,Double_COLUMN1,Double_COLUMN2,INTEGER_COLUMN1','SINGLE_PASS'='true'
> Logs as attached in Screenshot.



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