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