rishabhbandi commented on issue #6055:
URL: https://github.com/apache/hudi/issues/6055#issuecomment-1177121640

   **Hudi Config**
   "hoodie.datasource.write.recordkey.field" = "data_src_cd,sales_order_num"
   "hoodie.datasource.write.partitionpath.field" = "op_cmpny_cd,order_placed_dt"
   "hoodie.datasource.write.precombine.field" = "src_modfd_ts"
   "hoodie.datasource.write.operation" = "upsert"
   "hoodie.datasource.write.table.type" = "COPY_ON_WRITE"
   "hoodie.table.name" = "ww_mb_dl_secure.sales_order"
   "hoodie.datasource.write.keygenerator.class" = 
"org.apache.hudi.keygen.ComplexKeyGenerator"
   "hoodie.datasource.write.hive_style_partitioning" = "true"
   "hoodie.datasource.hive_sync.support_timestamp" = "true"
   "hoodie.cleaner.commits.retained" = 2
   "hoodie.datasource.query.type" = "snapshot"
   
   **Spark Shell** 
   spark-shell --jars 
gs://spark-lib/bigquery/spark-bigquery-with-dependencies_2.12-0.22.2.jar,/edge_data/code/svcordrdats/pipeline-resources/hudi-support-jars/hudi-spark-bundle_2.12-0.11.0.jar
 --conf spark.serializer=org.apache.spark.serializer.KryoSerializer --conf 
spark.kryoserializer.buffer.max=512m --conf 
'spark.sql.extensions=org.apache.spark.sql.hudi.HoodieSparkSessionExtension' 
--conf 'spark.sql.catalogImplementation=hive'


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