You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "James Taylor (JIRA)" <ji...@apache.org> on 2016/09/08 21:33:20 UTC

[jira] [Comment Edited] (PHOENIX-3046) `NOT LIKE '%'` unexpectedly returns results

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

James Taylor edited comment on PHOENIX-3046 at 9/8/16 9:32 PM:
---------------------------------------------------------------

Any chance for a patch, [~kliew]?


was (Author: jamestaylor):
Any chance for a patch, @Kevin Liew?

> `NOT LIKE '%'` unexpectedly returns results
> -------------------------------------------
>
>                 Key: PHOENIX-3046
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-3046
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 4.7.0
>            Reporter: Kevin Liew
>            Priority: Minor
>              Labels: like, like-predicate, phoenix, regex, wildcard, wildcards
>             Fix For: 4.9.0, 4.8.1
>
>
> The following returns all rows in the table when it should return no rows:
> {code}select * from emp where first_name not like '%'{code}
> The following returns no rows as expected:
> {code}select * from emp where first_name not like '%%'{code}
> first_name is a VARCHAR column



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)