stackql / stackql/stackql-devel
[BUG] Field not found kills server
Open
@general-kroll-4-life is already working on this.
Since Feb 6, 2023.
bug
v0.4
- Dominant language
- Go
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
Attempting to query a field that does not exist kills the server
To Reproduce
Steps to reproduce the behavior:
- Run the following query via the
shellorexec:
select id, created_at, size_in_bytes
from github.actions.artifacts
where owner = 'stackql' and repo = 'stackql'
will get the error (with the current GitHub provider doc):
sql packet preparation error: no such column: id
- Run the same query against the server - it will kill the server process
Expected behavior
Should just return a pg error with text similar to what is returned in the shell, should not kill the server
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.