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

TypeInfoParser cannot handle the dash in the field name of a complex type

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      hive> create table y(col struct<`a-b`:double> COMMENT 'type field has a dash');
      FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. java.lang.IllegalArgumentException: Error: : expected at the position 8 of 'struct<a-b:double>' but '-' is found.

      Attachments

        Activity

          People

            ctang Chaoyu Tang
            ctang Chaoyu Tang
            Votes:
            3 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: