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

No clear message when "from" is missing

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0.0
    • 1.2.0
    • None
    • None

    Description

      For the following sql, "from" is missing but it throw NPE which is not clear for user.

      hive> insert overwrite directory '/tmp/hive-3' select sb1.name, sb2.age student_bucketed sb1 join student_bucketed sb2 on sb1.name=sb2.name;
      FAILED: NullPointerException null
      

      Attachments

        1. HIVE-9923.2.patch
          1 kB
          Yongzhi Chen
        2. HIVE-9923.1.patch
          2 kB
          Yongzhi Chen

        Issue Links

          Activity

            People

              ychena Yongzhi Chen
              zjffdu Jeff Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: