You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Thejas M Nair (JIRA)" <ji...@apache.org> on 2016/01/21 19:03:39 UTC

[jira] [Commented] (HIVE-12901) Incorrect result from select '\\' like '\\%'

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