You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@phoenix.apache.org by "Swaroopa Kadam (JIRA)" <ji...@apache.org> on 2019/03/16 23:29:00 UTC

[jira] [Commented] (PHOENIX-5173) LIKE and ILIKE statements return empty result list for search without wildcard

    [ https://issues.apache.org/jira/browse/PHOENIX-5173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16794379#comment-16794379 ] 

Swaroopa Kadam commented on PHOENIX-5173:
-----------------------------------------

[~enesterovych] Do you still this issue? I tried reproducing it but couldn't. Please let me know. Thanks.

> LIKE and ILIKE statements return empty result list for search without wildcard
> ------------------------------------------------------------------------------
>
>                 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
>
> I expect these two statements to return same result, as MySql does:
> {code:java}
> SELECT * FROM my_schema.user WHERE USER_NAME = '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" operator returns empty result set. Same affects "ILIKE" operator. 
>  Create table SQL is:
> {code:java}
>  CREATE TABLE my_schema.user (USER_NAME VARCHAR(255));{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)