Rahil Chertara created HUDI-5601:
------------------------------------

             Summary: Support ALTER TABLE ADD PARTITION
                 Key: HUDI-5601
                 URL: https://issues.apache.org/jira/browse/HUDI-5601
             Project: Apache Hudi
          Issue Type: Task
            Reporter: Rahil Chertara


 

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)

Reply via email to