You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by GitBox <gi...@apache.org> on 2022/04/03 08:04:18 UTC
[GitHub] [iceberg] liuml07 opened a new pull request #4478: Spark: Support identifier fields when creating table with SQL
liuml07 opened a new pull request #4478:
URL: https://github.com/apache/iceberg/pull/4478
Currently Spark SQL does not allow user to specify 'identifier-fields' when creating table. This is a PoC effort.
```sql
CREATE TABLE t1(
id BIGINT NOT NULL,
name STRING NOT NULL,
data STRING)
USING iceberg
TBLPROPERTIES ('identifier-fields'='id,name')
```
After this, we can add support for other engines like Hive easily.
--
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.
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
[GitHub] [iceberg] melin commented on pull request #4478: Spark: Support identifier fields when creating table with SQL
Posted by GitBox <gi...@apache.org>.
melin commented on pull request #4478:
URL: https://github.com/apache/iceberg/pull/4478#issuecomment-1086828312
Options is recommended. TBLPROPERTIES does not match the use keyword
--
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.
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org