-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-54523][SQL] Fix default resolution during variant pushdown #53224
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-54523][SQL] Fix default resolution during variant pushdown #53224
Conversation
|
@harshmotw-db let's create a new JIRA ticket for this. |
|
@cloud-fan I have created two new Jiras |
sql/core/src/test/scala/org/apache/spark/sql/VariantSuite.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.
+1, LGTM (if CI passes). Thank you.
To be clear, I removed the following clauses from the PR title and description because we didn't make a decision for the flag, @harshmotw-db and @cloud-fan .
prepare test suites for default enablement of shredding and variant logical type annotationFor default enablement of variant logical type annotation and shredding.
|
thanks, merging to master/4.1! |
### What changes were proposed in this pull request? [This PR](#53164) enables shredding and variant logical type annotation configs by default. However, some test suites assume the old behavior. This PR fixes those tests to also work with the new default configs. This PR also fixes a bug we discovered in the previous PR where variant default resolution would fail when pushVariantIntoScan was enabled. ### Why are the changes needed? To fix the bug. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Existing tests. ### Was this patch authored or co-authored using generative AI tooling? No. Closes #53224 from harshmotw-db/harshmotw-db/shredding_fixes. Lead-authored-by: Harsh Motwani <harsh.motwani@databricks.com> Co-authored-by: Wenchen Fan <cloud0fan@gmail.com> Signed-off-by: Wenchen Fan <wenchen@databricks.com> (cherry picked from commit d36bd62) Signed-off-by: Wenchen Fan <wenchen@databricks.com>
What changes were proposed in this pull request?
This PR enables shredding and variant logical type annotation configs by default. However, some test suites assume the old behavior. This PR fixes those tests to also work with the new default configs.
This PR also fixes a bug we discovered in the previous PR where variant default resolution would fail when pushVariantIntoScan was enabled.
Why are the changes needed?
To fix the bug.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Existing tests.
Was this patch authored or co-authored using generative AI tooling?
No.