You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "kaleshkk (via GitHub)" <gi...@apache.org> on 2023/06/12 07:33:02 UTC

[GitHub] [hudi] kaleshkk commented on issue #8918: [SUPPORT] Unable to Remove Physical Files During Partition Deletion

kaleshkk commented on issue #8918:
URL: https://github.com/apache/hudi/issues/8918#issuecomment-1586750073

   Hi @danny0405 , Thanks for suggestion I changed my hudi configuration with purge enabled. Still it not removing the partitions.
    hudiOptions = {
               'hoodie.table.name': "ds_stor_trfc_prodco_hrly_wtd",
               'hoodie.datasource.write.recordkey.field': "hudi_key",
               'hoodie.datasource.write.table.name': "ds_stor_trfc_prodco_hrly_wtd",
               'hoodie.datasource.write.precombine.field': "stor_locl_ts",
               'hoodie.datasource.write.partitionpath.field': 'run_date',
               'hoodie.datasource.write.hive_style_partitioning': "true",
               'hoodie.datasource.write.drop.partition.columns':'true',
               'hoodie.datasource.write.operation': "delete",
               'hoodie.datasource.write.table.type': "COPY_ON_WRITE",
               'hoodie.datasource.write.keygenerator.class': 'org.apache.hudi.keygen.ComplexKeyGenerator',
               **'hoodie.datasource.write.purge.enabled': 'true'**
           }


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