lw309637554 commented on issue #2743: URL: https://github.com/apache/hudi/issues/2743#issuecomment-813765155
> @nsivabalan @aditiwari01 We actually introduced a delete_partition operation. See https://github.com/apache/hudi/blob/master/hudi-common/src/main/java/org/apache/hudi/common/model/WriteOperationType.java#L46 > > I _think_ this can be called on empty dataframe (I havent tested it). > Looks like documentation is missing for this. @nsivabalan Could you open a ticket. > > cc: @lw309637554 who implemented this API. @aditiwari01 hello 1. now you can batch delete partitions use hudiTable.deletePartitions() just like in https://issues.apache.org/jira/browse/HUDI-1350. Also a pr is doing more easy tool to delete partitions https://github.com/apache/hudi/pull/2452 2. @aditiwari01 why you need to duplicate the data? In my scene, if the data is user behaviors log from kafka , not need to duplicate. 3. Now have a issue to add the doc https://issues.apache.org/jira/browse/HUDI-1674 @satishkotha @nsivabalan -- 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. For queries about this service, please contact Infrastructure at: [email protected]
