[ https://issues.apache.org/jira/browse/CARBONDATA-603?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anurag Srivastava closed CARBONDATA-603. ---------------------------------------- Resolution: Fixed Closed as for the reference : [ https://issues.apache.org/jira/browse/CARBONDATA-603?focusedWorklogId=36045&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-36045 ] ASF GitHub Bot logged work on CARBONDATA-603: --------------------------------------------- Author: ASF GitHub Bot Created on: 20/Jan/17 08:12 Start Date: 20/Jan/17 08:12 Worklog Time Spent: 10m *Work Description: Github user asfgit closed the pull request at:* https://github.com/apache/incubator-carbondata/pull/551 Issue Time Tracking ------------------- Worklog Id: (was: 36045) Time Spent: 3h 50m (was: 3h 40m) > Unable to use filter with Date Data Type > ---------------------------------------- > > Key: CARBONDATA-603 > URL: https://issues.apache.org/jira/browse/CARBONDATA-603 > Project: CarbonData > Issue Type: Bug > Components: data-query > Affects Versions: 1.0.0-incubating > Environment: spark 1.6.2 > spark 2.1 > Reporter: Anurag Srivastava > Assignee: kumar vishal > Attachments: 2000_UniqData.csv, Date.png > > Time Spent: 3h 50m > Unable to use filter with Date Data Type > ---------------------------------------- > > Key: CARBONDATA-603 > URL: https://issues.apache.org/jira/browse/CARBONDATA-603 > Project: CarbonData > Issue Type: Bug > Components: data-query > Affects Versions: 1.0.0-incubating > Environment: spark 1.6.2 > spark 2.1 > Reporter: Anurag Srivastava > Assignee: kumar vishal > Attachments: 2000_UniqData.csv, Date.png > > Time Spent: 3h 50m > Remaining Estimate: 0h > > 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 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'); > *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 (v6.3.4#6332) |
Free forum by Nabble | Edit this page |