Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-10963

Hive throws NPE rather than meaningful error message when window is missing

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.3.0
    • Fix Version/s: 2.0.0
    • Component/s: PTF-Windowing
    • Labels:
      None

      Description

      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.

      org.apache.hadoop.hive.ql.parse.SemanticException: Window Spec org.apache.hadoop.hive.ql.parse.WindowingSpec$WindowSpec@7954e1de refers to an unknown source
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                aihuaxu Aihua Xu
                Reporter:
                aihuaxu Aihua Xu
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: