Skip to content

v1.15: Comparison filter operators work with strings #3254

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

Open
1 task
guimachiavelli opened this issue May 13, 2025 · 0 comments · May be fixed by #3256
Open
1 task

v1.15: Comparison filter operators work with strings #3254

guimachiavelli opened this issue May 13, 2025 · 0 comments · May be fixed by #3256
Milestone

Comments

@guimachiavelli
Copy link
Member

Starting with v1.15, comparison operators (<, >, <=, >=, and TO) also work when filtering string values. Filters resolve string comparisons in lexicographic order: symbols followed by numbers followed by letters in alphabetic order.

This can be useful when filtering dates in human-readable formats:

date >= 2024-01-01

Tasks

  • Update learn/filtering_and_sorting/filter_expression_reference#comparison->%2C-<%2C->%3D%2C-<%3D

References

@guimachiavelli guimachiavelli added this to the v1.15 milestone May 13, 2025
@guimachiavelli guimachiavelli linked a pull request May 15, 2025 that will close this issue
@guimachiavelli guimachiavelli linked a pull request May 16, 2025 that will close this issue
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 a pull request may close this issue.

1 participant