stream2000 opened a new pull request, #9837:
URL: https://github.com/apache/hudi/pull/9837

   ### Change Logs
   
   Currently we will list all partitions paths when calling 'alter table drop 
partition' to check if the table is hive style partitions and URL encoded. 
Listing all partitions path is expensive and we can  get these configs from 
table config instead. 
   
   
   This behavior is aligh with 'insert into table', see 
`org.apache.spark.sql.hudi.ProvidesHoodieConfig#buildHoodieInsertConfig`. 
   
   
   ### Impact
   
   Get `hiveStylePartitioningEnable` and `urlEncodePartitioning` from table 
config when 'alter table drop partition'.
   
   ### Risk level (write none, low medium or high below)
   
   low
   
   
   ### Documentation Update
   
   none
   
   ### Contributor's checklist
   
   - [x] Read through [contributor's 
guide](https://hudi.apache.org/contribute/how-to-contribute)
   - [x] Change Logs and Impact were stated clearly
   - [ ] Adequate tests were added if applicable
   - [ ] CI passed
   


-- 
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: commits-unsubscr...@hudi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to