hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thejas M Nair (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-12901) Incorrect result from select '\\' like '\\%'
Date Thu, 21 Jan 2016 18:03:39 GMT

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

Thejas M Nair commented on HIVE-12901:
--------------------------------------

Is it because the \ before % is being considered an escape char, which makes it treat % as
a char, not a wildcard ? (ie , is this the right behavior?)


> Incorrect result from select '\\' like '\\%'
> --------------------------------------------
>
>                 Key: HIVE-12901
>                 URL: https://issues.apache.org/jira/browse/HIVE-12901
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 1.2.1
>            Reporter: Chaoyu Tang
>
> The query returns false. Actually MySQL also returns 0 which I do not think it right.



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

Mime
View raw message