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

Better error message for STORED BY

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.0.0, 4.0.0-beta-1
    • 4.1.0
    • None

    Description

      We'd like to see a little kinder message when an invalid identifier or literal is given. It is confusing especially when I mistakenly type STORED BY instead of STORED AS.

      0: jdbc:hive2://hive-hiveserver2:10000/defaul> CREATE TABLE test (a STRING) STORED BY ORC TBLPROPERTIES ("orc.compress"="ZSTD");
      Error: Error while compiling statement: FAILED: SemanticException Cannot find class '' (state=42000,code=40000)

      Attachments

        Issue Links

          Activity

            People

              okumin Shohei Okumiya
              okumin Shohei Okumiya
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: