carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anurag Srivastava (JIRA)" <>
Subject [jira] [Created] (CARBONDATA-603) Unable to use filter with Date Data Type
Date Fri, 06 Jan 2017 12:54:58 GMT
Anurag Srivastava created CARBONDATA-603:

             Summary: Unable to use filter with Date Data Type
                 Key: CARBONDATA-603
             Project: CarbonData
          Issue Type: Bug
          Components: data-query
    Affects Versions: 1.0.0-incubating
            Reporter: Anurag Srivastava
         Attachments: Date.png

I am creating table with *DATE* Data Type and loading data with CSV into the table.

After that as I run the select query with *WHERE* clause, it converted value as NULL and provide
me result with Null Value.

*Create Table :*   CREATE TABLE uniqdata (CUST_ID int,CUST_NAME char(30),ACTIVE_EMUI_VERSION
string, DOB date, DOJ date, 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 :* LOAD DATA INPATH 'hdfs://localhost:54310/2000_UniqData.csv' into table uniqdata

*Select Query :* Select cust_id, cust_name, dob from uniqdata where dob='1975-06-22';

It is working fine on hive. I am attaching CSV 

This message was sent by Atlassian JIRA

View raw message