hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aihua Xu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-10963) Hive throws NPE rather than meaningful error message when window is missing
Date Tue, 09 Jun 2015 14:41:00 GMT

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

Aihua Xu updated HIVE-10963:
----------------------------
    Attachment: HIVE-10963.patch

> Hive throws NPE rather than meaningful error message when window is missing
> ---------------------------------------------------------------------------
>
>                 Key: HIVE-10963
>                 URL: https://issues.apache.org/jira/browse/HIVE-10963
>             Project: Hive
>          Issue Type: Bug
>          Components: PTF-Windowing
>    Affects Versions: 1.3.0
>            Reporter: Aihua Xu
>            Assignee: Aihua Xu
>         Attachments: HIVE-10963.patch
>
>
> {{select sum(salary) over w1 from emp;}} throws NPE rather than meaningful error message
like "missing window".
> And also give the right window name rather than the classname in the error message after
NPE issue is fixed.
> {noformat}
> org.apache.hadoop.hive.ql.parse.SemanticException: Window Spec org.apache.hadoop.hive.ql.parse.WindowingSpec$WindowSpec@7954e1de
refers to an unknown source
> {noformat}



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

Mime
View raw message