mkk1490 commented on issue #3400:
URL: https://github.com/apache/hudi/issues/3400#issuecomment-904467316


   @codope I'm getting a null pointer exception. But i'm able to delete with 
the same code when I do an insert overwrite. I'm trying to delete all data in 3 
partitions from the 60 available partitions with each having 26 GB on disk. 
   This is my code:
   yr_mth_list = [202105, 202103, 202104]
   df_l2_rx = 
spark.read.format("hudi").load(f"{s3_path}/src_sys_nm={src_sys_nm}/")
   # df_l2_rx is the snapshot data of the table
   df_l2_rx_del = df_l2_rx.filter(F.col("yr_mth").isin(yr_mth_list))
   df_l2_rx_del .write.format("org.apache.hudi"). 
options(**hudi_delete_options). \
                                                                         
option('hoodie.datasource.write.operation', 'delete'). \
                                                                         
mode("append").save(f"{s3_path}")
   I don't know if it's because of the data size. 


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