kishoreraj05 commented on issue #11917:
URL: https://github.com/apache/hudi/issues/11917#issuecomment-2342864798

   @ad1happy2go write-configurations:
   `"hoodie.datasource.hive_sync.database" = ${outputDbName},
         "hoodie.datasource.hive_sync.table" = ${outputTableName},
         "hoodie.table.name" = ${outputTableName},
         "hoodie.index.type" = "BLOOM",
         "hoodie.write.markers.type" = "direct",
         "hoodie.embed.timeline.server" = "false",
         "hoodie.datasource.write.recordkey.field" = "ts,xxxx,xxxx,xxxx,xxxx",
         "hoodie.datasource.write.precombine.field" = "ts",
         "hoodie.datasource.write.partitionpath.field" = "dt,xxxx",
         "hoodie.datasource.hive_sync.partition_fields" = "dt,xxxx",
         "hoodie.datasource.write.operation" = "upsert",
         "hoodie.cleaner.policy" = "KEEP_LATEST_COMMITS",
         "hoodie.datasource.write.storage.type" = "COPY_ON_WRITE",
         "hoodie.datasource.write.table.type" = "COPY_ON_WRITE",
         "hoodie.cleaner.commits.retained" = "5",
         "hoodie.cleaner.parallelism" = ${others.hudiCleanerParallelism},
         "hoodie.datasource.write.hive_style_partitioning" = "true",
         "hoodie.datasource.hive_sync.enable" = "true",
         "hoodie.datasource.hive_sync.partition_extractor_class" = 
"org.apache.hudi.hive.MultiPartKeysValueExtractor",
         "hoodie.datasource.hive_sync.use_jdbc" = "false",
         "hoodie.datasource.hive_sync.mode" = "hms",
         "hoodie.datasource.hive_sync.metastore.uris" = ${hiveUrl},
         "hoodie.clean.invalid.duplicates" = "true",
         "hoodie.metadata.enable" = ${others.hudiMetadataEnable}`
         
         
   We are also running delete partitions.
   We are making sure that when the delete partition is running the stream job 
should not be running.
   
   Delete partition write configurations:
   `"hoodie.datasource.write.operation" = "delete_partition"
         "hoodie.table.name" = ${outputTableName},
         "hoodie.datasource.hive_sync.database" = ${outputDbName},
         "hoodie.datasource.hive_sync.table" = ${outputTableName},
         "hoodie.datasource.hive_sync.enable" = "True",
         "hoodie.datasource.hive_sync.use_jdbc" = "false",
         "hoodie.datasource.hive_sync.mode" = "hms",
         "hoodie.datasource.hive_sync.metastore.uris" = ${hiveUrl},
         "hoodie.datasource.write.hive_style_partitioning" = "true",
         "hoodie.datasource.hive_sync.partition_extractor_class" = 
"org.apache.hudi.hive.MultiPartKeysValueExtractor",
         "hoodie.datasource.write.storage.type" = "COPY_ON_WRITE",
         "hoodie.datasource.write.table.type" = "COPY_ON_WRITE",
         "hoodie.cleaner.policy" = "KEEP_LATEST_COMMITS",
         "hoodie.cleaner.commits.retained" = "10",
         "hoodie.datasource.write.partitionpath.field" = "dt,xxxx",
         "hoodie.datasource.write.partitions.to.delete" = "dt=$dt/xxxx=*",
         "hoodie.datasource.hive_sync.partition_fields" = "dt,xxxx",
         "hoodie.metadata.enable" = ${others.hudiMetadataEnable}`


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