getredash/redash
View on GitHubQuery editor: format query feature breaks syntax of Postgres JSON operator
Open
#5644 opened on Nov 8, 2021
help wanted
Description
Issue Summary
Query editor: format query feature breaks syntax of Postgres JSON operator
Steps to Reproduce
WHERE keywords @> '[{"keyword":{"id":12345}}]'- Valid according to: https://www.postgresql.org/docs/12/functions-json.html
- Gets formatted as
keywords @ > '[{"keyword":{"id":12345}}]' - This is invalid syntax because the
@and>have become separated
Technical details:
- Redash Version: 10.0.0-beta (92e5d78d)