hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xiao Jiang (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-3795) NPE in SELECT when WHERE-clause is an and/or/not operation involving null
Date Thu, 13 Dec 2012 17:36:12 GMT

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

Xiao Jiang updated HIVE-3795:
-----------------------------

    Attachment: HIVE-3795.1.patch.txt
    
> NPE in SELECT when WHERE-clause is an and/or/not operation involving null
> -------------------------------------------------------------------------
>
>                 Key: HIVE-3795
>                 URL: https://issues.apache.org/jira/browse/HIVE-3795
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>            Reporter: Xiao Jiang
>            Assignee: Xiao Jiang
>            Priority: Trivial
>         Attachments: HIVE-3795.1.patch.txt
>
>
> Sometimes users forget to quote date constants in queries. For example, SELECT * FROM
some_table WHERE ds >= 2012-12-10 and ds <= 2012-12-12; . In such cases, if the WHERE-clause
contains and/or/not operation, it would throw NPE exception. That's because PcrExprProcFactory
in ql/optimizer forgot to check null. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message