-
Notifications
You must be signed in to change notification settings - Fork 29k
[MINOR][SQL] Rename config name to spark.sql.analyzer.failAmbiguousSelfJoin.enabled #26694
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
Conversation
|
cc @gatorsmile |
srowen
left a comment
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.
Seems fine if this was never released yet as a config that people use already.
|
yea this config is new in 3.0 |
|
|
||
| val FAIL_AMBIGUOUS_SELF_JOIN = | ||
| buildConf("spark.sql.analyzer.failAmbiguousSelfJoin") | ||
| buildConf("spark.sql.analyzer.failAmbiguousSelfJoin.enabled") |
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.
Could you update docs/sql-migration-guide.md, too? There is an instance referring this.
To restore the behavior before Spark 3.0, you can set
spark.sql.analyzer.failAmbiguousSelfJointofalse.
| .booleanConf | ||
| .createWithDefault(true) | ||
|
|
||
| val FAIL_AMBIGUOUS_SELF_JOIN = |
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.
Maybe, FAIL_AMBIGUOUS_SELF_JOIN -> FAIL_AMBIGUOUS_SELF_JOIN_ENABLED?
It seems that we are using _ENABLED pattern for .enabled conf sometime.
|
Test build #114539 has finished for PR 26694 at commit
|
|
Test build #114715 has finished for PR 26694 at commit
|
|
merging to master! |
|
Thank you for update. |
…lfJoin.enabled ### What changes were proposed in this pull request? add `.enabled` postfix to `spark.sql.analyzer.failAmbiguousSelfJoin`. ### Why are the changes needed? to follow the existing naming style ### Does this PR introduce any user-facing change? no ### How was this patch tested? not needed Closes apache#26694 from cloud-fan/conf. Authored-by: Wenchen Fan <wenchen@databricks.com> Signed-off-by: Wenchen Fan <wenchen@databricks.com>
…lfJoin.enabled add `.enabled` postfix to `spark.sql.analyzer.failAmbiguousSelfJoin`. to follow the existing naming style no not needed Closes apache#26694 from cloud-fan/conf. Authored-by: Wenchen Fan <wenchen@databricks.com> Signed-off-by: Wenchen Fan <wenchen@databricks.com>
What changes were proposed in this pull request?
add
.enabledpostfix tospark.sql.analyzer.failAmbiguousSelfJoin.Why are the changes needed?
to follow the existing naming style
Does this PR introduce any user-facing change?
no
How was this patch tested?
not needed