Quoted identifiers in column names
- 主要言語
- Java
- スター
- 3.1k
- フォーク
- 1.6k
- 平均マージ
- 3日 12時間
- マージ済み PR(30日)
- 33
説明
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.
**Reporter**: [Michael Styles](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=ptkool)
**Note**: *This issue was originally created as [PARQUET-677](https://issues.apache.org/jira/browse/PARQUET-677). Please see the [migration documentation](https://issues.apache.org/jira/browse/PARQUET-2502) for further details.*
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
まず、`Session Token` 列を使用した Hive の例と、`parquet_table` への失敗する insert を再現します。スキーマおよび insert パスに関係する Parquet Java の処理を追跡します。完了の条件は、スペースを含む引用符付き識別子が受け入れられ、報告されたフィールド名エラーなしに insert が成功することです。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java
- 領域
- databases
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 38/100