phoenix-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emiliia Nesterovych (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PHOENIX-5173) LIKE and ILIKE statements return empty result list for search without wildcard
Date Thu, 28 Feb 2019 09:32:00 GMT

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

Emiliia Nesterovych commented on PHOENIX-5173:
----------------------------------------------

[~Jaanai], sorry, my bad. I updated the ticket description.
Regarding create table - you probably should have another schema.

> 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
>            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)

Mime
View raw message