Skip to content

Conversation

@Zylphrex
Copy link
Member

This adds support for the has filter on span columns. Also fixes the actual
condition generated as that was previously incorrect.

This adds support for the has filter on span columns. Also fixes the actual
condition generated as that was previously incorrect.
@Zylphrex Zylphrex requested a review from a team October 29, 2021 17:25
@Zylphrex Zylphrex requested a review from a team as a code owner October 29, 2021 17:25
1,
Function("notEmpty", [self.column(name)]),
Op.EQ,
1 if search_filter.operator == "!=" else 0,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thoughts on changing this in the operator parameter instead of changing the value?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No strong opinions there, as I was just aiming to be in parity with the original JSON implementation (minus hacks like arrayConcat)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

k, gonna start(i dont think we are today) pushing for consistency and have us change the operator instead of the value when possible

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds good, i can update this PR

@Zylphrex Zylphrex merged commit 2ebae85 into master Nov 1, 2021
@Zylphrex Zylphrex deleted the fix/support-has-filter-on-span-columns branch November 1, 2021 14:08
@github-actions github-actions bot locked and limited conversation to collaborators Nov 17, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants