Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-13336

Syntax error in creating Iceberg test table on Apache Hive 3

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Infrastructure
    • None
    • ghx-label-2

    Description

      IMPALA-13284 supports loading test data on Apache Hive 3. However, the following statement has a syntax error:

      0: jdbc:hive2://localhost:11050/default> CREATE EXTERNAL TABLE IF NOT EXISTS fun 
      ctional_parquet.iceberg_avro_format (
      . . . . . . . . . . . . . . . . . . . .>   int_col int,
      . . . . . . . . . . . . . . . . . . . .>   string_col string,
      . . . . . . . . . . . . . . . . . . . .>   double_col double,
      . . . . . . . . . . . . . . . . . . . .>   bool_col boolean
      . . . . . . . . . . . . . . . . . . . .> )
      . . . . . . . . . . . . . . . . . . . .> STORED BY 'org.apache.iceberg.mr.hive.H 
      iveIcebergStorageHandler' TBLPROPERTIES('write.format.default'='AVRO')
      . . . . . . . . . . . . . . . . . . . .> LOCATION '/test-warehouse/iceberg_test/ 
      hadoop_catalog/ice/iceberg_avro_format';
      going to print operations logs
      printed operations logs
      Getting log thread is interrupted, since query is done!
      Error: Error while compiling statement: FAILED: ParseException line 8:0 missing EOF at 'LOCATION' near ')' (state=42000,code=40000)

      The TBLPROPERTIES clause should be put after the LOCATION clause.
      CC boroknagyz

      Attachments

        Issue Links

          Activity

            People

              stigahuang Quanlong Huang
              stigahuang Quanlong Huang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: