fix: Fallback to Spark for unsupported partitioning#759
Merged
viirya merged 4 commits intoapache:mainfrom Aug 2, 2024
Merged
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. |
viirya
commented
Aug 2, 2024
| columns: Array[Column], | ||
| partitions: Array[Transform], | ||
| catalog: InMemoryTableCatalog = catalog): Unit = { | ||
| catalog.createTable(Identifier.of(Array("ns"), table), columns, partitions, emptyProps) |
Member
Author
There was a problem hiding this comment.
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.
kazuyukitanimura
approved these changes
Aug 2, 2024
| val msg3 = createMessage( | ||
| isShuffleEnabled && columnarShuffleEnabled && !QueryPlanSerde | ||
| .supportPartitioningTypes(s.child.output) | ||
| .supportPartitioningTypes(s.child.output, s.outputPartitioning) |
Contributor
There was a problem hiding this comment.
nit s.outputPartitioning => outputPartitioning
andygrove
approved these changes
Aug 2, 2024
Member
Author
|
Merged. Thanks @kazuyukitanimura @andygrove |
himadripal
pushed a commit
to himadripal/datafusion-comet
that referenced
this pull request
Sep 7, 2024
* fix: Fallback to Spark for unsupported partitioning * fix * Move test * For review (cherry picked from commit 2d95fea)
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
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.
Which issue does this PR close?
Closes #760.
Rationale for this change
What changes are included in this PR?
How are these changes tested?