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

[GitHub] [hudi] jhchee commented on issue #8561: [SUPPORT] How to pass write options to Spark SQL

jhchee commented on issue #8561:
URL: https://github.com/apache/hudi/issues/8561#issuecomment-1520075536

   Figure out I can pass write config via SET command
   ```
   spark.sql("SET hoodie.index.type = BUCKET");
   spark.sql("SET hoodie.index.bucket.engine = SIMPLE");
   spark.sql("SET hoodie.storage.layout.partitioner.class = org.apache.hudi.table.action.commit.SparkBucketIndexPartitioner");
   spark.sql("SET hoodie.bucket.index.num.buckets = 10");
   ```


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