-
Notifications
You must be signed in to change notification settings - Fork 130
Rename functions in SelectExpr to make API clearer #4690
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
Conversation
| .fields() | ||
| .fields() |
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.
Mainly to prevent this, I think this is much clearer now.
|
|
||
| /// Returns the fields of the struct scalar, or None if the scalar is null. | ||
| pub fn fields(&self) -> Option<impl Iterator<Item = Scalar>> { | ||
| pub fn fields(&self) -> Option<impl ExactSizeIterator<Item = Scalar>> { |
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.
just had this and figured its not worth its own PR
Signed-off-by: Adam Gutglick <adam@spiraldb.com>
bf0db38 to
e5c7063
Compare
Codecov Report❌ Patch coverage is ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Signed-off-by: Adam Gutglick <adam@spiraldb.com>
Unfortunately a minor breaking change to the API, but the amount of
fields()functions we have is just too much.