You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Kevin Liew (JIRA)" <ji...@apache.org> on 2016/01/29 20:25:39 UTC

[jira] [Updated] (PHOENIX-2642) LIKE predicate does not work if there no wildcard in the pattern

     [ https://issues.apache.org/jira/browse/PHOENIX-2642?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kevin Liew updated PHOENIX-2642:
--------------------------------
    Description: 
Does not work:
{code}select at1.col2 from at1 group by at1.col2 having at1.col2 not like 'Mickey Mouse'{code}

Works:
{code}select at1.col2 from at1 group by at1.col2 having at1.col2 not like 'Mickey Mous_'{code}

col2 is VARCHAR

  was:
Does not work:
{code}select at1.col2 from at1 group by at1.col2 having at1.col2 not like 'Mickey Mouse'{code}

Works:
{code}select at1.col2 from at1 group by at1.col2 having at1.col2 not like 'Mickey Mous_'{code}


> LIKE predicate does not work if there no wildcard in the pattern
> ----------------------------------------------------------------
>
>                 Key: PHOENIX-2642
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-2642
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 4.7.0
>         Environment: Phoenix 4.7.0 on Calcite 1.5
>            Reporter: Kevin Liew
>              Labels: newbie
>
> Does not work:
> {code}select at1.col2 from at1 group by at1.col2 having at1.col2 not like 'Mickey Mouse'{code}
> Works:
> {code}select at1.col2 from at1 group by at1.col2 having at1.col2 not like 'Mickey Mous_'{code}
> col2 is VARCHAR



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