[ https://issues.apache.org/jira/browse/PHOENIX-3046?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15477909#comment-15477909 ]
ASF GitHub Bot commented on PHOENIX-3046: ----------------------------------------- GitHub user kliewkliew opened a pull request: https://github.com/apache/phoenix/pull/208 PHOENIX-3046 `NOT LIKE '%'` unexpectedly returns results You can merge this pull request into a Git repository by running: $ git pull https://github.com/kliewkliew/phoenix PHOENIX-3046 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/phoenix/pull/208.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #208 ---- commit e34704eeb97cedc16a088dd9faa67736e88a8bf4 Author: kliewkliew <kliewkl...@users.noreply.github.com> Date: 2016-08-30T15:16:50Z Merge remote-tracking branch 'apache/master' commit 58fff98306e6684f8abdfd5ce00b639faf03f6a9 Author: kliewkliew <kliewkl...@users.noreply.github.com> Date: 2016-08-31T14:54:30Z Merge branch 'master' of https://github.com/apache/phoenix commit 11bdb1ecdbc4c78c347fb11fc590db0b6eeb01df Author: kliewkliew <kliewkl...@users.noreply.github.com> Date: 2016-09-07T11:31:10Z Merge remote-tracking branch 'apache/master' commit 2ad6748934414402e1c8f76dd5685f627de8909c Author: kliewkliew <kliewkl...@users.noreply.github.com> Date: 2016-09-07T13:28:32Z Merge remote-tracking branch 'apache/master' commit eef17a494163e0fa90d7272800cbd48b9d3d2c46 Author: kliewkliew <kliewkl...@users.noreply.github.com> Date: 2016-09-07T13:28:59Z PHOENIX-3046 `NOT LIKE '%'` unexpectedly returns results ---- > `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 > Assignee: 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)