-
Notifications
You must be signed in to change notification settings - Fork 169
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
fix: Fallback to Spark for unsupported partitioning #759
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #759 +/- ##
============================================
+ Coverage 53.66% 54.11% +0.45%
- Complexity 810 819 +9
============================================
Files 107 107
Lines 10265 10316 +51
Branches 1930 1947 +17
============================================
+ Hits 5509 5583 +74
+ Misses 3781 3743 -38
- Partials 975 990 +15 ☔ View full report in Codecov by Sentry. |
columns: Array[Column], | ||
partitions: Array[Transform], | ||
catalog: InMemoryTableCatalog = catalog): Unit = { | ||
catalog.createTable(Identifier.of(Array("ns"), table), columns, partitions, emptyProps) |
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.
Some APIs are added since Spark 3.4. One config is added since Spark 4.0. So this test is only compilable for 3.4+ and only useful for 4.0.
val msg3 = createMessage( | ||
isShuffleEnabled && columnarShuffleEnabled && !QueryPlanSerde | ||
.supportPartitioningTypes(s.child.output) | ||
.supportPartitioningTypes(s.child.output, s.outputPartitioning) |
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.
nit s.outputPartitioning
=> outputPartitioning
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.
Okay.
Merged. Thanks @kazuyukitanimura @andygrove |
* fix: Fallback to Spark for unsupported partitioning * fix * Move test * For review (cherry picked from commit 2d95fea)
Which issue does this PR close?
Closes #760.
Rationale for this change
What changes are included in this PR?
How are these changes tested?