-
Notifications
You must be signed in to change notification settings - Fork 15
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
feat(substrait) Update to substrait v0.64.0 #105
feat(substrait) Update to substrait v0.64.0 #105
Conversation
srikrishnak
commented
Jan 15, 2025
- Update proto definition to v0.64.0
- Fixed FetchRel to use OffsetMode and CountMode
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #105 +/- ##
=======================================
Coverage ? 62.66%
=======================================
Files ? 44
Lines ? 10186
Branches ? 0
=======================================
Hits ? 6383
Misses ? 3517
Partials ? 286 ☔ View full report in Codecov by Sentry. |
* Update proto definition to v0.64.0 * Fixed FetchRel to use OffsetMode and CountMode
913ff70
to
d944aa1
Compare
@@ -411,10 +411,24 @@ func RelFromProto(rel *proto.Rel, reg expr.ExtensionRegistry) (Rel, error) { | |||
return nil, fmt.Errorf("error getting input to FetchRel: %w", err) | |||
} | |||
|
|||
var offset int64 | |||
if off, ok := rel.Fetch.OffsetMode.(*proto.FetchRel_Offset); ok { |
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.
It'd be useful to have tests that show we can work with both the new and old way of specifying FetchRel.
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.
@EpsilonPrime I wanted to defer adding the new way to a separate PR. This PR should be only update to new version and no change to functionality. Is that fine? Thanks