You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by GitBox <gi...@apache.org> on 2022/10/19 06:00:53 UTC

[GitHub] [hudi] INRIX-Trang-Nguyen commented on issue #6866: [SUPPORT] Hudi DELETE_PARTITIONS operation doesn't delete partitions via Spark Data Frame

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

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