Documented row_filter expressions#1862
Conversation
Co-authored-by: Fokko Driesprong <fokko@apache.org>
Co-authored-by: Fokko Driesprong <fokko@apache.org>
Fokko
left a comment
There was a problem hiding this comment.
Thanks @norton120 I think this is a great addition to the docs 🙌 I left some small suggestions, let me know what you think of it 👍
Co-authored-by: Fokko Driesprong <fokko@apache.org>
Co-authored-by: Fokko Driesprong <fokko@apache.org>
Co-authored-by: Fokko Driesprong <fokko@apache.org>
5b347e4 to
21b6196
Compare
|
bah 🤦🏻 I clobbered the in-GH changes while rebasing main. grr. |
|
Sorry these last fixes took so long I missed the notifications. Updated! |
|
@norton120 no worries, thanks for following up! 🙌 |
Fokko
left a comment
There was a problem hiding this comment.
@norton120 I have two more minor issues while going over it
| ```python | ||
|
|
There was a problem hiding this comment.
| ```python | |
| ```python |
| age_equals_18 = EqualTo("age", 18) | ||
|
|
||
| # This will raise a TypeError if the field type doesn't match | ||
| age_equals_18 = EqualTo("age", "18") # Will fail if age is an integer field |
|
I think this is very valuable, and let's merge this and follow up with a PR to clean up the two nits |
@Fokko sorry, somehow this slipped though my notifications! Thank you for merging, I'm happy to follow up with a cleanup PR re the nits |
# Rationale for this change scan's `row_filter` param is not super intuitive. I got tired of reading over the expression and parser code as I'm trying to build out statements, so I had some docs made up. # Are these changes tested? They are docs only, so not really? # Are there any user-facing changes? Yes there are docs for the expression and string syntaxes of `row_filter` now. <!-- In the case of user-facing changes, please add the changelog label. --> --------- Co-authored-by: Fokko Driesprong <fokko@apache.org>
# Rationale for this change scan's `row_filter` param is not super intuitive. I got tired of reading over the expression and parser code as I'm trying to build out statements, so I had some docs made up. # Are these changes tested? They are docs only, so not really? # Are there any user-facing changes? Yes there are docs for the expression and string syntaxes of `row_filter` now. <!-- In the case of user-facing changes, please add the changelog label. --> --------- Co-authored-by: Fokko Driesprong <fokko@apache.org>

Rationale for this change
scan's
row_filterparam is not super intuitive. I got tired of reading over the expression and parser code as I'm trying to build out statements, so I had some docs made up.Are these changes tested?
They are docs only, so not really?
Are there any user-facing changes?
Yes there are docs for the expression and string syntaxes of
row_filternow.