Skip to content

feat(spanfiltering): transpile expressions for HAS operator#604

Merged
oscarmuhr merged 1 commit intomasterfrom
handle-has-operand-wildcards
Mar 12, 2026
Merged

feat(spanfiltering): transpile expressions for HAS operator#604
oscarmuhr merged 1 commit intomasterfrom
handle-has-operand-wildcards

Conversation

@oscarmuhr
Copy link
Copy Markdown
Contributor

Adds support for transpiling the HAS operator for currently supported primitives and well known types (string + timestamp) with checking for presence and specific HAS value, which according to AIP-160 would behave similarly to the current implementation of equality operands, i.e. translating to LIKE expressions for wildcard prefix/suffix and otherwise doing exact match.

@oscarmuhr oscarmuhr force-pushed the handle-has-operand-wildcards branch from 7330600 to 26d14da Compare March 10, 2026 09:27
@oscarmuhr oscarmuhr requested a review from alethenorio March 10, 2026 09:28
@oscarmuhr oscarmuhr force-pushed the handle-has-operand-wildcards branch 5 times, most recently from 80f5d53 to fa03df9 Compare March 12, 2026 08:57
Adds support for transpiling the HAS operator for currently supported
primitives and well known types (string + timestamp) with checking for
presence.

Follows implementation in aip-go
einride/aip-go#370
einride/aip-go#371
@oscarmuhr oscarmuhr force-pushed the handle-has-operand-wildcards branch from fa03df9 to adaaf0b Compare March 12, 2026 09:00
@oscarmuhr oscarmuhr marked this pull request as ready for review March 12, 2026 10:33
@oscarmuhr oscarmuhr requested review from a team and thall as code owners March 12, 2026 10:33
@oscarmuhr oscarmuhr merged commit 4e195bc into master Mar 12, 2026
1 check passed
@oscarmuhr oscarmuhr deleted the handle-has-operand-wildcards branch March 12, 2026 10:54
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 this pull request may close these issues.

2 participants