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