Uploaded image for project: 'Parquet'
  1. Parquet
  2. PARQUET-677

Quoted identifiers in column names

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • parquet-mr
    • None

    Description

      Add the ability to quote identifiers for columns in a table. This would allow column names to contain arbitrary characters such as spaces. Hive supports these types of identifiers using backquotes. For example,

      create table parquet_table (`Session Token` string) stored as parquetfile;

      However, attempting to insert a new row into this table results in an error.

      insert into parquet_table values ('1234-45')

      org.apache.hadoop.hive.ql.metadata.HiveException: java.lang.IllegalArgumentException: field ended by ';': expected ';' but got 'token' at line 1: optional string Session Token

      I would suggest using backquotes in Parquet as well.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ptkool Michael Styles
            Votes:
            3 Vote for this issue
            Watchers:
            10 Start watching this issue

            Dates

              Created:
              Updated: