Uploaded image for project: 'CarbonData'
  1. CarbonData
  2. CARBONDATA-2351

CarbonData Select null

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Not A Bug
    • Affects Version/s: 1.3.1
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Environment:
      Carbondata1.3.1 with Spark2.1.2

      Description

      Carbondata1.3.1 with Spark2.1.2,after insert into values,SELECT is right.but next day,data of SELECT is null but the line number is right. 

      create table carbon01(id int,name int,age int,sex int) stored by 'carbondata';

      insert into carbon01 values(1,1,1,1);

      select * from carbon01;

      1 1 1 1

      then,i exit spark-sql.

      but,next day,

      select * from carbon01;

      null null null null

       .it may not because of time.
      after one line turn to null,i insert into again.
      insert into carbon01 values(2,2,2,2);
      then i select,the result is:
      null null null null
      2 2 2 2
      the log is:
      ResultCollectorFactory:[Executor task launch worker for task 1][partition...] Restructure dictionary vector collector is used to scan and collect the data
      ResultCollectorFactory:[Executor task launch worker for task 2][partition...] Vector based dictionary collector is used to scan and collect the data
      and i follow source code,in task1, tableBlockInfo.getDetailInfo.columnSchemas.get(0).isDimensionColumn=true;
      in task2, tableBlockInfo.getDetailInfo.columnSchemas.get(0).isDimensionColumn=false; 

       

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              xhnqccf xhnqccf
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: