-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-46122][SQL] Set spark.sql.legacy.createHiveTableByDefault to false by default
#46207
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
Closed
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
spark.sql.legacy.createHiveTableByDefault by default
spark.sql.legacy.createHiveTableByDefault by defaultspark.sql.legacy.createHiveTableByDefault to false by default
a625607 to
f20d414
Compare
0e02a29 to
29d1be5
Compare
yaooqinn
approved these changes
Apr 25, 2024
Member
yaooqinn
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.
LGTM
Member
Author
|
Thank you, @yaooqinn . I'll throw a discussion thread for this Tonight. |
cloud-fan
approved these changes
Apr 25, 2024
LuciferYang
approved these changes
Apr 26, 2024
ulysses-you
approved these changes
Apr 26, 2024
Member
Author
|
I started a vote for this PR too. |
HyukjinKwon
approved these changes
Apr 28, 2024
Member
Author
|
Hi, @cloud-fan , @yaooqinn , @ulysses-you . If you don't mind, could you participate the vote? :) |
Member
Author
|
Thank you all. Votes passed. |
Member
Author
|
Merged to master for Apache Spark 4.0.0. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What changes were proposed in this pull request?
This PR aims to switch
spark.sql.legacy.createHiveTableByDefaulttofalseby default in order to move away from this legacy behavior fromApache Spark 4.0.0while the legacy functionality will be preserved during Apache Spark 4.x period by settingspark.sql.legacy.createHiveTableByDefault=true.Why are the changes needed?
Historically, this behavior change was merged at
Apache Spark 3.0.0activity in SPARK-30098 and reverted officially during the3.0.0 RCperiod.At
Apache Spark 3.1.0, we had another discussion and defined it asLegacybehavior via a new configuration by reusing the JIRA ID, SPARK-30098.Last year, this was proposed again twice and
Apache Spark 4.0.0is a good time to make a decision for Apache Spark future direction.Does this PR introduce any user-facing change?
Yes, the migration document is updated.
How was this patch tested?
Pass the CIs with the adjusted test cases.
Was this patch authored or co-authored using generative AI tooling?
No.