Skip to content
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: [comet-parquet-exec] Fix regression in supported types #1309

Open
wants to merge 1 commit into
base: comet-parquet-exec
Choose a base branch
from

Conversation

andygrove
Copy link
Member

@andygrove andygrove commented Jan 19, 2025

Which issue does this PR close?

N/A

Rationale for this change

Fix a regression that was causing a test failure in the TPC-DS correctness tests.

What changes are included in this PR?

How are these changes tested?

@andygrove andygrove changed the title fix: [comet-parquet-exec] Fix regression supported types fix: [comet-parquet-exec] Fix regression in supported types Jan 19, 2025
@@ -61,7 +61,7 @@ object QueryPlanSerde extends Logging with ShimQueryPlanSerde with CometExprShim
logWarning(s"Comet native execution is disabled due to: $reason")
}

def supportedDataType(dt: DataType, allowStruct: Boolean = true): Boolean = dt match {
def supportedDataType(dt: DataType, allowStruct: Boolean = false): Boolean = dt match {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the fix

@codecov-commenter
Copy link

codecov-commenter commented Jan 19, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 34.15%. Comparing base (c17a0f6) to head (9ddf582).
Report is 1 commits behind head on comet-parquet-exec.

Additional details and impacted files
@@                    Coverage Diff                    @@
##             comet-parquet-exec    #1309       +/-   ##
=========================================================
- Coverage                 56.07%   34.15%   -21.92%     
- Complexity                  978     1009       +31     
=========================================================
  Files                       119      122        +3     
  Lines                     11735    47942    +36207     
  Branches                   2251    10494     +8243     
=========================================================
+ Hits                       6580    16373     +9793     
- Misses                     4013    28295    +24282     
- Partials                   1142     3274     +2132     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@andygrove
Copy link
Member Author

@mbutrovich @parthchandra another small fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants