Chetan Bhat created CARBONDATA-1869:
---------------------------------------

             Summary: Null pointer exception thrown when concurrent load and 
select queries executed for table with dictionary exclude or NO_INVERTED_INDEX
                 Key: CARBONDATA-1869
                 URL: https://issues.apache.org/jira/browse/CARBONDATA-1869
             Project: CarbonData
          Issue Type: Bug
          Components: data-load
    Affects Versions: 1.3.0
         Environment: 3 node ant cluster
            Reporter: Chetan Bhat


Steps -
>From beeline terminal a table is created with with table properties having 
>dictionary exclude or NO_INVERTED_INDEX- 
create table test(a1 int) STORED BY 'org.apache.carbondata.format' 
TBLPROPERTIES ('DICTIONARY_EXCLUDE'='a1');   or 
create table test(a1 int) STORED BY 'org.apache.carbondata.format' 
TBLPROPERTIES ('NO_INVERTED_INDEX'='a1');

  From 3 concurrent beeline terminals the below sequence of insert into select 
and select queries are executed 120 times.
  insert into test select 2147483647;
  select * from test;
  select count(*) from test;
  select a1 from test;
  select 
round(a1),bround(a1),floor(a1),ceil(a1),rand(),exp(a1),ln(a1),log10(a1),log2(1),log(a1),pow(a1,a1),sqrt(a1),bin(a1),pmod(a1,a1),sin(a1),asin(a1),cos(a1),tan(a1),atan(a1),degrees(a1),radians(a1),positive(a1),negative(a1),sign(a1),factorial(a1),cbrt(a1)
 from test;

【Expected Output】:The insert into select query should be successful and the 
null pointer exception should not be thrown when concurrent load and select 
queries executed for table with dictionary exclude or NO_INVERTED_INDEX.

【Actual Output】:Null pointer exception thrown when concurrent load and select 
queries executed with table properties having dictionary exclude or 
NO_INVERTED_INDEX
  0: jdbc:hive2://10.18.98.136:23040> insert into test select 2147483647;
Error: java.lang.NullPointerException (state=,code=0)



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to