carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "SWATI RAO (JIRA)" <>
Subject [jira] [Created] (CARBONDATA-847) Select query not working properly after alter.
Date Mon, 03 Apr 2017 12:59:41 GMT

             Summary: Select query not working properly after alter.
                 Key: CARBONDATA-847
             Project: CarbonData
          Issue Type: Bug
    Affects Versions: 1.1.0-incubating
         Environment: Spark2.1
            Reporter: SWATI RAO
         Attachments: 2000_UniqData.csv

Execute these set of queries: 

CREATE TABLE uniqdata (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 ("TABLE_BLOCKSIZE"= "256 MB");

LOAD DATA INPATH 'HDFS_URL/BabuStore/Data/uniqdata/2000_UniqData.csv' into table uniqdata

ALTER TABLE uniqdata RENAME TO uniqdata1;

alter table uniqdata1 add columns(dict int) TBLPROPERTIES('DICTIONARY_INCLUDE'='dict','DEFAULT.VALUE.dict'=

select distinct(dict) from uniqdata2 ;

it will display the result but when we perform :

select * from uniqdata1 ;

it will display an error message :

Job aborted due to stage failure: Task 3 in stage 59.0 failed 1 times, most recent failure:
Lost task 3.0 in stage 59.0 (TID 714, localhost, executor driver): java.lang.NullPointerException

This message was sent by Atlassian JIRA

View raw message