Skip to content
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

Fixes json operator binding for 5040 #5100

Merged
merged 2 commits into from
Mar 30, 2024

Conversation

griffio
Copy link
Contributor

@griffio griffio commented Mar 29, 2024

📟 Follow up from PR #5041

Added the binary operator expressions support
Added Integration tests for binary operator binding

e.g

SELECT *
FROM TestJson
WHERE datab @> ?;

👐 This required making the json expression use a column expression with the json operator so that a sql expression is evaluated

use column_expr instead of column_name as this allows a binary expression to be evaluated

JsonExpressionMixin now references a column_expr
@dellisd dellisd merged commit ace474f into cashapp:master Mar 30, 2024
12 checks passed
@griffio griffio deleted the fixes-json-operator-binding branch March 31, 2024 08:30
hfhbd pushed a commit that referenced this pull request Apr 2, 2024
* Fix json_expression

use column_expr instead of column_name as this allows a binary expression to be evaluated

JsonExpressionMixin now references a column_expr

* Add integration tests
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.

None yet

2 participants