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 2021/10/08 09:28:53 UTC
[GitHub] [iceberg] allendang001 opened a new issue #3247: Is alter table supported or not in iceberg?
allendang001 opened a new issue #3247:
URL: https://github.com/apache/iceberg/issues/3247
i find that create (external) table and drop table statements are supported in iceberg hive doc, however,
I did not find any introduction about the alter table statement
https://iceberg.apache.org/hive/#ddl-commands
If anyone knows the content, please let me know
--
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] allendang001 commented on issue #3247: Is alter table supported or not in iceberg-hive?
Posted by GitBox <gi...@apache.org>.
allendang001 commented on issue #3247:
URL: https://github.com/apache/iceberg/issues/3247#issuecomment-946590395
> There are some missing feature in the Hive API. Especially in 2.x, but even in 3.x which prevented us to provide alter table support for Hive tables in Iceberg code.
>
> That said there is an implementation in the Hive master which allows some of the `ALTER` functionality. https://github.com/apache/hive/blob/master/iceberg/iceberg-handler/src/main/java/org/apache/iceberg/mr/hive/HiveIcebergMetaHook.java#L96-L99
>
> ```
> static final EnumSet<AlterTableType> SUPPORTED_ALTER_OPS = EnumSet.of(
> AlterTableType.ADDCOLS, AlterTableType.REPLACE_COLUMNS, AlterTableType.RENAME_COLUMN,
> AlterTableType.ADDPROPS, AlterTableType.DROPPROPS, AlterTableType.SETPARTITIONSPEC,
> AlterTableType.UPDATE_COLUMNS);
> ```
Thanks a lot. It seems that the community has already achieved some realization, but it is still not enough and cannot support our current business.
Do you know that the community will be improved in this regard in the future?
--
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] pvary commented on issue #3247: Is alter table supported or not in iceberg-hive?
Posted by GitBox <gi...@apache.org>.
pvary commented on issue #3247:
URL: https://github.com/apache/iceberg/issues/3247#issuecomment-938539818
There are some missing feature in the Hive API. Especially in 2.x, but even in 3.x which prevented us to provide alter table support for Hive tables in Iceberg code.
That said there is an implementation in the Hive master which allows some of the `ALTER` functionality.
https://github.com/apache/hive/blob/master/iceberg/iceberg-handler/src/main/java/org/apache/iceberg/mr/hive/HiveIcebergMetaHook.java#L96-L99
```
static final EnumSet<AlterTableType> SUPPORTED_ALTER_OPS = EnumSet.of(
AlterTableType.ADDCOLS, AlterTableType.REPLACE_COLUMNS, AlterTableType.RENAME_COLUMN,
AlterTableType.ADDPROPS, AlterTableType.DROPPROPS, AlterTableType.SETPARTITIONSPEC,
AlterTableType.UPDATE_COLUMNS);
```
--
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] pvary commented on issue #3247: Is alter table supported or not in iceberg-hive?
Posted by GitBox <gi...@apache.org>.
pvary commented on issue #3247:
URL: https://github.com/apache/iceberg/issues/3247#issuecomment-946627435
@allendang001: What do you need? What alter table functions would you like to use?
Thanks, Peter
--
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