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

   ### Change Logs
   
   For sql like insert overwrite table $table select xxx, we expect to drop all 
data in the table first and then insert the selected data into it.  But we 
found that the 'insert overwrite table' semantic works only for non-partitioned 
table. For partitioned table, current implementation will drop only partitions 
involved in the select sub-query, other partitions won't be dropped( which 
should be dropped as expected).  
   
   This pr to solve the problem that  insert overwrite table can drop all 
partitions at first then insert new data.
   
   
   ### Impact
   
   Insert overwrite table will drop all partitions at first then insert new 
data.
   
   ### Risk level (write none, low medium or high below)
   
   None
   
   ### 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
   - [x] 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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to