Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id AA378200B90 for ; Sun, 11 Sep 2016 04:59:24 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id A8BC5160AD2; Sun, 11 Sep 2016 02:59:24 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id EFB73160ABE for ; Sun, 11 Sep 2016 04:59:23 +0200 (CEST) Received: (qmail 79076 invoked by uid 500); 11 Sep 2016 02:59:23 -0000 Mailing-List: contact issues-help@carbondata.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@carbondata.incubator.apache.org Delivered-To: mailing list issues@carbondata.incubator.apache.org Received: (qmail 79067 invoked by uid 99); 11 Sep 2016 02:59:23 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 11 Sep 2016 02:59:23 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id BF03BC30EC for ; Sun, 11 Sep 2016 02:59:22 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -5.144 X-Spam-Level: X-Spam-Status: No, score=-5.144 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-1.124] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id I0Iu7slAo_n1 for ; Sun, 11 Sep 2016 02:59:22 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with SMTP id 650385FAD5 for ; Sun, 11 Sep 2016 02:59:21 +0000 (UTC) Received: (qmail 79042 invoked by uid 99); 11 Sep 2016 02:59:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 11 Sep 2016 02:59:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 72CA42C0059 for ; Sun, 11 Sep 2016 02:59:20 +0000 (UTC) Date: Sun, 11 Sep 2016 02:59:20 +0000 (UTC) From: "ChenLiang (JIRA)" To: issues@carbondata.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Closed] (CARBONDATA-23) Filter query issue for >, <, <= than filter MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sun, 11 Sep 2016 02:59:24 -0000 [ https://issues.apache.org/jira/browse/CARBONDATA-23?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ChenLiang closed CARBONDATA-23. ------------------------------- Assignee: (was: Mohammad Shahid Khan) > Filter query issue for >, <, <= than filter > ------------------------------------------- > > Key: CARBONDATA-23 > URL: https://issues.apache.org/jira/browse/CARBONDATA-23 > Project: CarbonData > Issue Type: Bug > Reporter: Mohammad Shahid Khan > Fix For: 0.1.0-incubating > > > 1. select count(*) from a12 where dob > '2014-07-01 12:07:28' > throwing runtime exception > 2. select count(*) from a12 where dob < '2014-07-01 12:07:28' > is including the null values also. > 3. select count(*) from a12 where dob <= '2014-07-01 12:07:28' > is including the null value > Null should not considered in less than filter. > create cube command: > create table a12(empid String,ename String,sal double,deptno int,mgr string,gender string," + > "dob timestamp,comm decimal(4,2),desc string) stored by 'org.apache.carbondata.format > data: > empid,ename,sal,deptno,mgr,gender,dob,comm,desc > 1,abc,1233,10,2,,2014-07-01 12:07:28,1234.191,string_null > 2,bcd,1322,,3,f,2014-07-01 12:07:28,19.99,int_null > 3,cde,4322,,4,m,,16.996,date_null > 4, ,43243,,5,m,,999.117,string_space > 5,,43242,20,6,m,2017-07-01 12:07:28,99.999,string_null > 6,ijk,,20,6,m,2017-07-01 12:07:28,50089,double_null > 7,pqr,2422,20,6,m,2017-07-01 12:07:28,32.339,decimal_null > 8 -- This message was sent by Atlassian JIRA (v6.3.4#6332)