INRIX-Trang-Nguyen commented on issue #6866:
URL: https://github.com/apache/hudi/issues/6866#issuecomment-1283472920

   Thanks for the response and the JIRA!
   For now as a workaround, we are fetching all distinct partitions from 
_hoodie_partition_path and then invoking the delete_partition operation on the 
result of this query:
   
   sparkSession.sqlContext.read.format("parquet")
             .load("s3://bucket/.../year=2022/month=10/day=05/*/*/*")
             .select("_hoodie_partition_path").distinct.rdd.map(r => 
r.getString(0)).collect
   
   
   


-- 
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