Arun-kc commented on issue #4267:
URL: https://github.com/apache/hudi/issues/4267#issuecomment-990615939


   @Carl-Zhou-CN 
   The following is the hudi options I'm using as of now.
   ```python
   hudiOptions = {
       "hoodie.table.name": "my_hudi_table",
       "hoodie.datasource.write.recordkey.field": "id",
       "hoodie.datasource.write.partitionpath.field": "creation_date",
       "hoodie.datasource.write.precombine.field": "last_update_time",
       "hoodie.datasource.hive_sync.enable": "true",
       "hoodie.datasource.hive_sync.table": "my_hudi_table",
       "hoodie.datasource.hive_sync.partition_fields": "creation_date",
       "hoodie.datasource.hive_sync.partition_extractor_class": 
"org.apache.hudi.hive.MultiPartKeysValueExtractor",
       "hoodie.index.type": "GLOBAL_BLOOM",                 # This is required 
if we want to ensure we upsert a record, even if the partition changes
       "hoodie.bloom.index.update.partition.path": "true",  # This is required 
to write the data into the new partition (defaults to false in 0.8.0, true in 
0.9.0)
   }
   ```
   
   As for `hoodie.datasource.hive_sync.jdbcurl`, I'm not using any hive as of 
now, so what URL should I mention? 
   
   I'm doing this in AWS Glue and using a hudi connector. 
   


-- 
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-unsubscr...@hudi.apache.org

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


Reply via email to