-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[spark] Support global options via SQL conf #3825
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not just using paimon.xxx
?
Spark will only recognize sql conf starting with |
For example, if we want to configure hadoop conf to spark, we need to set like |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1 after test pass.
...on-spark/paimon-spark-common/src/main/scala/org/apache/paimon/spark/PaimonOptionHelper.scala
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me!
Purpose
Users can configure paimon option globally via
spark.paimon.x
, e.g.set spark.paimon.file.block-size=512M
to control the file block size globallyTests
API and Format
Documentation