From issues-return-6177-archive-asf-public=cust-asf.ponee.io@phoenix.apache.org Sat Apr 20 01:44:02 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 3796B180789 for ; Sat, 20 Apr 2019 03:44:02 +0200 (CEST) Received: (qmail 99105 invoked by uid 500); 20 Apr 2019 01:44:01 -0000 Mailing-List: contact issues-help@phoenix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@phoenix.apache.org Delivered-To: mailing list issues@phoenix.apache.org Received: (qmail 99056 invoked by uid 99); 20 Apr 2019 01:44:01 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 20 Apr 2019 01:44:01 +0000 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 F1D3DE2AF0 for ; Sat, 20 Apr 2019 01:44:00 +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 55BA525816 for ; Sat, 20 Apr 2019 01:44:00 +0000 (UTC) Date: Sat, 20 Apr 2019 01:44:00 +0000 (UTC) From: "Hudson (JIRA)" To: issues@phoenix.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (PHOENIX-5173) LIKE and ILIKE statements return empty result list for search without wildcard MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/PHOENIX-5173?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D16= 822310#comment-16822310 ]=20 Hudson commented on PHOENIX-5173: --------------------------------- FAILURE: Integrated in Jenkins build PreCommit-PHOENIX-Build #2521 (See [ht= tps://builds.apache.org/job/PreCommit-PHOENIX-Build/2521/]) PHOENIX-5173: LIKE and ILIKE statements return empty result list for (tdsil= va: rev 77f43035abc66685a759ce98c8c3cad69312b4c7) * (edit) phoenix-core/src/main/java/org/apache/phoenix/compile/ExpressionCo= mpiler.java * (edit) phoenix-core/src/test/java/org/apache/phoenix/compile/WhereOptimiz= erTest.java * (edit) phoenix-core/src/it/java/org/apache/phoenix/end2end/LikeExpression= IT.java > LIKE and ILIKE statements return empty result list for search without wil= dcard > -------------------------------------------------------------------------= ----- > > Key: PHOENIX-5173 > URL: https://issues.apache.org/jira/browse/PHOENIX-5173 > Project: Phoenix > Issue Type: Bug > Affects Versions: 4.7.0 > Reporter: Emiliia Nesterovych > Assignee: Swaroopa Kadam > Priority: Blocker > Fix For: 4.15.0, 5.1.0, 4.14.2 > > Attachments: PHOENIX-5173.4.x-HBase-1.3.v1.patch, PHOENIX-5173.4.= x-HBase-1.3.v2.patch > > Time Spent: 1h 10m > Remaining Estimate: 0h > > I expect these two=C2=A0statements to return same result, as MySql does: > {code:java} > SELECT * FROM my_schema.user WHERE USER_NAME =3D 'Some Name'; > {code} > {code:java} > SELECT * FROM my_schema.user WHERE USER_NAME LIKE 'Some Name'; > {code} > But while there is data for these scripts, the statement with "LIKE" oper= ator returns empty result set. Same affects "ILIKE" operator.=C2=A0 > Create table SQL is: > {code:java} > CREATE SCHEMA IF NOT EXISTS my_schema; > CREATE TABLE my_schema.user (USER_NAME VARCHAR(255), ID BIGINT NOT NULL P= RIMARY KEY);{code} > Fill up query: > {code:java} > UPSERT INTO my_schema.user VALUES('Some Name', 1);{code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)