[ https://issues.apache.org/jira/browse/CARBONDATA-592?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Payal updated CARBONDATA-592: ----------------------------- Description: In Single Pas 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' was: In Single Pas 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 > 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 > Priority: Minor > Attachments: single_pass.png > > > In Single Pas 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' -- This message was sent by Atlassian JIRA (v6.3.4#6332) |
Free forum by Nabble | Edit this page |