Closed felixYyu closed 3 years ago
ALTER TABLE ... ADD if exsits PARTITION FIELD col also
cc @rdblue @aokolnychyi @RussellSpitzer can you help? thanks base on iceberg-spark3-runtime version 0.12.1
Those particles are not supported in the Spark SQL extension we use to support partition field modifications
When we switch to using the DataSourceV2 "alterPartition" capability which was recently added to Spark, we will be able to use the native grammar.
Supports Alter Partition Interface in Spark https://github.com/apache/spark/blob/master/sql/catalyst/src/main/java/org/apache/spark/sql/connector/catalog/SupportsPartitionManagement.java
Will the spark SQL extension be supported in the future?
Pull requests are welcome :) I think I actually saw someone working on this with "Show Partitions" support which uses the same extension point
I'm well, this PR assigne to me please. thanks Russell.
Sounds good, let's close out this issue and i'll make a new one for the support drop partition.
ALTER TABLE prod.db.sample DROP [if exists] PARTITION FIELD catalog