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

Output errors don't get parsed into an error properly. #31

Open
benfdking opened this issue Mar 7, 2024 · 1 comment · May be fixed by #34
Open

Output errors don't get parsed into an error properly. #31

benfdking opened this issue Mar 7, 2024 · 1 comment · May be fixed by #34

Comments

@benfdking
Copy link

Some returned errors don't seem to get parsed properly, making it rather hard to debug.

For example, for a query that returns the following in the console

001042 (XX000): SQL compilation error:
Compilation memory exhausted.
after 3m 40s

The library error concerns the output not fitting into an enum. It looks like the returned error from Snowflake does not fit inside the predetermined structures.

@colin99d
Copy link
Contributor

I second this! Is there anyway for now we could have like an UnknownError(Value) on the Enum so that we easily see what the issue is. Then over time we could add all the errors we find as types.

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 a pull request may close this issue.

2 participants