carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "kumar vishal (JIRA)" <>
Subject [jira] [Assigned] (CARBONDATA-603) Unable to use filter with Date Data Type
Date Wed, 11 Jan 2017 07:42:59 GMT


kumar vishal reassigned CARBONDATA-603:

    Assignee: kumar vishal

> Unable to use filter with Date Data Type
> ----------------------------------------
>                 Key: CARBONDATA-603
>                 URL:
>             Project: CarbonData
>          Issue Type: Bug
>          Components: data-query
>    Affects Versions: 1.0.0-incubating
>            Reporter: Anurag Srivastava
>            Assignee: kumar vishal
>         Attachments: 2000_UniqData.csv, 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
> *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 with this.

This message was sent by Atlassian JIRA

View raw message