[ https://issues.apache.org/jira/browse/CARBONDATA-597?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anurag Srivastava updated CARBONDATA-597: ----------------------------------------- Description: I am running Carbon Data with thrift server and I am able to Create Table and Load Data but as I run *select * from table_name;*, Its giving me error : *Block B-tree loading failed*. *Create Table :* CREATE TABLE uniqdata (CUST_ID int,CUST_NAME char(30),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"); !https://issues.apache.org/jira/secure/attachment/12845768/createTable.png! *Load Data :* LOAD DATA INPATH 'hdfs://localhost:54310/2000_UniqData.csv' into table uniqdata OPTIONS ('DELIMITER'=',' ,'QUOTECHAR'='"','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'); !https://issues.apache.org/jira/secure/attachment/12845771/loaddata.png! *Select Query :* select * from uniqdata; PFA for stack Trace. !https://issues.apache.org/jira/secure/attachment/12845764/ErrorLog.png! was: I am running Carbon Data with thrift server and I am able to Create Table and Load Data but as I run *select * from table_name;*, Its giving me error : *Block B-tree loading failed*. *Create Table :* CREATE TABLE uniqdata (CUST_ID int,CUST_NAME char(30),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"); !https://issues.apache.org/jira/secure/attachment/12845768/createTable.png! *Load Data :* LOAD DATA INPATH 'hdfs://localhost:54310/2000_UniqData.csv' into table uniqdata OPTIONS ('DELIMITER'=',' ,'QUOTECHAR'='"','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'); PFA for stack Trace. !https://issues.apache.org/jira/secure/attachment/12845764/ErrorLog.png! > Unable to fetch data with "select" query > ---------------------------------------- > > Key: CARBONDATA-597 > URL: https://issues.apache.org/jira/browse/CARBONDATA-597 > Project: CarbonData > Issue Type: Bug > Components: data-query > Affects Versions: 1.0.0-incubating > Reporter: Anurag Srivastava > Attachments: ErrorLog.png, createTable.png, loaddata.png > > > I am running Carbon Data with thrift server and I am able to Create Table and Load Data but as I run *select * from table_name;*, Its giving me error : *Block B-tree loading failed*. > *Create Table :* CREATE TABLE uniqdata (CUST_ID int,CUST_NAME char(30),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"); > !https://issues.apache.org/jira/secure/attachment/12845768/createTable.png! > *Load Data :* LOAD DATA INPATH 'hdfs://localhost:54310/2000_UniqData.csv' into table uniqdata OPTIONS ('DELIMITER'=',' ,'QUOTECHAR'='"','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'); > !https://issues.apache.org/jira/secure/attachment/12845771/loaddata.png! > *Select Query :* select * from uniqdata; > PFA for stack Trace. > !https://issues.apache.org/jira/secure/attachment/12845764/ErrorLog.png! > > -- This message was sent by Atlassian JIRA (v6.3.4#6332) |
Free forum by Nabble | Edit this page |