You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "John Sichi (JIRA)" <ji...@apache.org> on 2011/08/31 01:57:15 UTC

[jira] [Commented] (HIVE-2402) Function like with empty string is throwing null pointer exception

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

John Sichi commented on HIVE-2402:
----------------------------------

I'm curious:  why is it not possible to actually support an empty string as the like pattern?  It's not particularly useful, but should be no different from any other wildcardless pattern.


> Function like with empty string is throwing null pointer exception
> ------------------------------------------------------------------
>
>                 Key: HIVE-2402
>                 URL: https://issues.apache.org/jira/browse/HIVE-2402
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.8.0
>         Environment: Hadoop 0.20.1, Hive0.8.0 and SUSE Linux Enterprise Server 10 SP2 (i586) - Kernel 2.6.16.60-0.21-smp (5)
>            Reporter: Chinna Rao Lalam
>            Assignee: Chinna Rao Lalam
>         Attachments: HIVE-2402.patch
>
>
> select emp.ename from emp where ename like ''
> This query is throwing null pointer exception

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira