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

Parsing table names in query #71

Open
parmesant opened this issue Nov 19, 2024 · 0 comments
Open

Parsing table names in query #71

parmesant opened this issue Nov 19, 2024 · 0 comments
Assignees

Comments

@parmesant
Copy link
Contributor

I am trying to query a stream called k8s-events which runs into issues due to the stream having a special character in its name

./pb query run "select * from k8s-events" --from=3d --to=now
Datafusion Error: SQL error: ParserError("Expected end of statement, found: -")

If I wrap the table name with escaped double quotes, I get a different error (this happens with all stream names)

./pb query run "select * from \"k8s-events\"" --from=3d --to=
now
Json deserialize error: expected `,` or `}` at line 2 column 30
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

No branches or pull requests

2 participants