rubenssoto commented on issue #1902:
URL: https://github.com/apache/hudi/issues/1902#issuecomment-669184817


   Hi bvaradar, how are you?
   
   I got this error:
   : java.io.IOException: Could not load key generator class 
org.apache.hudi.ComplexKeyGenerator
   
   my hudi configs:
   
   
           hudi_options = {
               'hoodie.table.name': table_name,
               'hoodie.datasource.write.recordkey.field': 
hudi_config.primary_key_column,
               'hoodie.datasource.write.table.name': table_name,
               'hoodie.datasource.write.operation': hudi_config.write_operation,
               'hoodie.combine.before.insert': hudi_config.write_operation in 
['insert','bulkinsert'] if 'true' else 'false',
               'hoodie.combine.before.upsert': hudi_config.write_operation == 
'upsert' if 'true' else 'false',
               'hoodie.datasource.write.precombine.field': 
hudi_config.precombined_column,
               'hoodie.datasource.write.keygenerator.class': 
'org.apache.hudi.ComplexKeyGenerator',
               'hoodie.parquet.small.file.limit': 943718400,
               'hoodie.parquet.max.file.size': 1073741824,
               'hoodie.parquet.block.size': 1073741824,
               'hoodie.copyonwrite.record.size.estimate': 
hudi_config.record_size_estimate,
               'hoodie.cleaner.commits.retained': 1,
               'hoodie.datasource.hive_sync.enable': 'true',
               'hoodie.datasource.hive_sync.table': table_name,
               'hoodie.datasource.hive_sync.database': 'datalake_raw',
               'hoodie.datasource.hive_sync.jdbcurl': 
'jdbc:hive2://ip-10-0-62-197.us-west-2.compute.internal:10000'
           }


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

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


Reply via email to