You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@parquet.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2020/09/11 11:59:00 UTC

[jira] [Commented] (PARQUET-677) Quoted identifiers in column names

    [ https://issues.apache.org/jira/browse/PARQUET-677?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17194234#comment-17194234 ] 

ASF GitHub Bot commented on PARQUET-677:
----------------------------------------

airshad commented on pull request #361:
URL: https://github.com/apache/parquet-mr/pull/361#issuecomment-691051052


   Any update on this issue? I am facing this issue in one of my project with parquet format and its pissing me off. I don't want to alter the dataset by replacing space with `_` OR removing it altogether.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> Quoted identifiers in column names
> ----------------------------------
>
>                 Key: PARQUET-677
>                 URL: https://issues.apache.org/jira/browse/PARQUET-677
>             Project: Parquet
>          Issue Type: Improvement
>          Components: parquet-mr
>            Reporter: Michael Styles
>            Priority: Minor
>
> 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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)