You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "Rahil Chertara (Jira)" <ji...@apache.org> on 2023/01/23 21:38:00 UTC

[jira] [Updated] (HUDI-5601) Support for commands ALTER TABLE ADD PARTITION, and MSCK REPAIR

     [ https://issues.apache.org/jira/browse/HUDI-5601?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rahil Chertara updated HUDI-5601:
---------------------------------
    Summary: Support for commands ALTER TABLE ADD PARTITION, and MSCK REPAIR  (was: Support ALTER TABLE ADD PARTITION)

> Support for commands ALTER TABLE ADD PARTITION, and MSCK REPAIR
> ---------------------------------------------------------------
>
>                 Key: HUDI-5601
>                 URL: https://issues.apache.org/jira/browse/HUDI-5601
>             Project: Apache Hudi
>          Issue Type: Task
>            Reporter: Rahil Chertara
>            Priority: Major
>
>  
> Currently it seems that when a user tries to add a partition to their table using `spark.sql("alter table hudi_table add partition(year='2021')")` and then run a `show partition`, nothing is returned. I believe in hudi we have not integrated this with the external catalog (hive metastore), and thus we should look into this integration. 
>  
> scala> spark.sql("SHOW PARTITIONS hudi_table ").show(20)
> +---------+ |partition|
> +---------+ +---------+



--
This message was sent by Atlassian Jira
(v8.20.10#820010)