Github user cxzl25 commented on the issue: https://github.com/apache/spark/pull/18900 **Modify the partition will lose createTime.** Reading the hive partitions ignores createTime when converting the CatalogTablePartition, it will also be lost when modifying partitions. Calling this method SessionCatalog#alterPartitions will be lost createTime. So can you reopen this pr? @debugger87 ```sql CREATE TABLE `tmp_test_partition`( `c1` string ) PARTITIONED BY ( `d` string ); ALTER TABLE `tmp_test_partition_1` ADD PARTITION (d='1'); ALTER TABLE `tmp_test_partition_1` PARTITION (d='1') SET LOCATION 'xxx'; ```
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org