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 D5E01200C49 for ; Fri, 17 Mar 2017 08:17:46 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id D4714160B80; Fri, 17 Mar 2017 07:17:46 +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 2BEEC160B6D for ; Fri, 17 Mar 2017 08:17:46 +0100 (CET) Received: (qmail 15576 invoked by uid 500); 17 Mar 2017 07:17:45 -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 15567 invoked by uid 99); 17 Mar 2017 07:17:45 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Mar 2017 07:17:45 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id F0EA71A0096 for ; Fri, 17 Mar 2017 07:17:44 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.651 X-Spam-Level: X-Spam-Status: No, score=0.651 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_NEUTRAL=0.652] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id EBgmqzv0STiN for ; Fri, 17 Mar 2017 07:17:44 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 0242A5F613 for ; Fri, 17 Mar 2017 07:17:44 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id E551CE0652 for ; Fri, 17 Mar 2017 07:17:41 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 9A968254B6 for ; Fri, 17 Mar 2017 07:17:41 +0000 (UTC) Date: Fri, 17 Mar 2017 07:17:41 +0000 (UTC) From: "Geetika Gupta (JIRA)" To: issues@carbondata.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CARBONDATA-788) Like operator is not working properly MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 17 Mar 2017 07:17:47 -0000 Geetika Gupta created CARBONDATA-788: ---------------------------------------- Summary: Like operator is not working properly Key: CARBONDATA-788 URL: https://issues.apache.org/jira/browse/CARBONDATA-788 Project: CarbonData Issue Type: Bug Components: data-query Affects Versions: 1.1.0-incubating Environment: spark 2.1 Reporter: Geetika Gupta Priority: Trivial Attachments: 2000_UniqData.csv I tried to create a table using the following command: CREATE TABLE uniqdata_INC(CUST_ID int,CUST_NAME String,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'; Load command for the table : LOAD DATA INPATH 'hdfs://localhost:54311/BabuStore/DATA/uniqdata/2000_UniqData.csv' into table uniqdata_INC OPTIONS('DELIMITER'=',' , 'QUOTECHAR'='"','FILEHEADER'='CUST_ID,CUST_NAME,ACTIVE_EMUI_VERSION,DOB,DOJ,BIGINT_COLUMN1,BIGINT_COLUMN2,DECIMAL_COLUMN1,DECIMAL_COLUMN2,Double_COLUMN1,Double_COLUMN2,INTEGER_COLUMN1'); When I performed the below query on the table using 'like' operator, it displayed no results. select cust_id from uniqdata_INC where cust_id like 8999; Result: +----------+--+ | cust_id | +----------+--+ +----------+--+ No rows selected (0.515 seconds) PFA the csv used for input data. -- This message was sent by Atlassian JIRA (v6.3.15#6346)