Skip to content

Bugfix #68 (#105) add missing cql2 text predicates #118

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
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion pygeofilter/parsers/cql2_text/grammar.lark
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,11 @@
| expression ">=" expression -> gte
| expression "gte"i expression -> gte
| expression "BETWEEN"i expression "AND"i expression -> between
| expression "NOT"i "BETWEEN"i expression "AND"i expression -> not_between
| expression "LIKE"i SINGLE_QUOTED -> like
| expression "NOT"i "LIKE"i SINGLE_QUOTED -> not_like
| expression "IN"i "(" expression ( "," expression )* ")" -> in_
| expression "NOT"i "IN"i "(" expression ( "," expression )* ")" -> not_in
| expression "IS"i "NULL"i -> null
| expression "IS"i "NOT"i "NULL"i -> not_null
| "INCLUDE"i -> include
Expand All @@ -60,7 +63,6 @@
| temporal_predicate



?temporal_predicate: expression _binary_temporal_predicate_func expression -> binary_temporal_predicate

!_binary_temporal_predicate_func: "T_BEFORE"i
Expand Down
Loading