carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Payal (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CARBONDATA-643) When we are passing ALL_DICTIONARY_PATH' in load query ,it is throwing null pointer exception.
Date Mon, 16 Jan 2017 10:42:27 GMT
Payal created CARBONDATA-643:
--------------------------------

             Summary: When we are passing ALL_DICTIONARY_PATH' in load query ,it is throwing
null pointer exception.
                 Key: CARBONDATA-643
                 URL: https://issues.apache.org/jira/browse/CARBONDATA-643
             Project: CarbonData
          Issue Type: Bug
          Components: data-load
    Affects Versions: 1.0.0-incubating
            Reporter: Payal
            Priority: Minor
         Attachments: 7000_UniqData.csv

When we are passing ALL_DICTIONARY_PATH' in load query ,it is throwing null pointer exception.

//CREATE TABLE
CREATE TABLE uniq_include_dictionary (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,Double_COLUMN2,DECIMAL_COLUMN2');



//LOAD QUERY

 LOAD DATA INPATH 'hdfs://localhost:54311/payal/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'='false','ALL_DICTIONARY_PATH'='hdfs://localhost:54311/opt/alldictionary/data.dictionary');
"



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

Mime
View raw message