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

Add support for json in postgres query #45

Open
poonai opened this issue Apr 12, 2022 · 1 comment
Open

Add support for json in postgres query #45

poonai opened this issue Apr 12, 2022 · 1 comment
Labels
bug Something isn't working dataplane

Comments

@poonai
Copy link
Collaborator

poonai commented Apr 12, 2022

Describe the bug
Inspektor doesn't support json query support.

To Reproduce
Parse the following query

select * from tmpdb where cast(meta1->'refferedBy' as text) = '3332'

you'll get the following error

ParserError("Expected an expression:, found: >")

Expected behavior
Inspektor should be able to parse json query

@poonai poonai added bug Something isn't working dataplane labels Apr 12, 2022
@poonai
Copy link
Collaborator Author

poonai commented Apr 13, 2022

support for json selection is submitted to sqlparser crate

apache/datafusion-sqlparser-rs#458

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working dataplane
Projects
None yet
Development

No branches or pull requests

1 participant