-
Notifications
You must be signed in to change notification settings - Fork 266
chore: Refactor CometScanRule to improve scan selection and fallback logic
#2978
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
base: main
Are you sure you want to change the base?
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2978 +/- ##
============================================
+ Coverage 56.12% 59.47% +3.34%
- Complexity 976 1381 +405
============================================
Files 119 167 +48
Lines 11743 15521 +3778
Branches 2251 2571 +320
============================================
+ Hits 6591 9231 +2640
- Misses 4012 4993 +981
- Partials 1140 1297 +157 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
CometScanRule to improve scan selection and fallback logicCometScanRule to improve scan selection and fallback logic [WIP]
CometScanRule to improve scan selection and fallback logic [WIP]CometScanRule to improve scan selection and fallback logic
CometScanRule to improve scan selection and fallback logicCometScanRule to improve scan selection and fallback logic [WIP]
CometScanRule to improve scan selection and fallback logic [WIP]CometScanRule to improve scan selection and fallback logic
| withInfo( | ||
| scanExec, | ||
| "Full native scan disabled because nested types for default values are not supported") |
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.
Perhaps should be - "Full native scan disabled because default values for nested types are not supported"
| return scanExec | ||
| } | ||
|
|
||
| // TODO is this restriction valid for all native scan types? |
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.
Are default values for primitive types supported by native_datafusion?
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.
Yep. #1756
parthchandra
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. Minor comment.
Which issue does this PR close?
N/A
Rationale for this change
Refactoring to simplify scan selection and fallback logic
What changes are included in this PR?
No functional changes. Just refactoring.
How are these changes tested?
Existing tests.