-
Notifications
You must be signed in to change notification settings - Fork 556
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
[client-v2] Missing full exception causes for CREATE TABLE failures #1906
Comments
@alxhill thank you! |
@alxhill |
If I add
(that's unedited, the message is literally " |
@alxhill new version with fix is release (0.7.1-patch). It should be soon be in Maven central. |
Confirmed fixed - thanks! |
We create tables from user-provided csvs, which may sometimes be invalid (e.g duplicate columns, missing values for some columns), and catch and parse exceptions from clickhouse to show a message to the user.
V1 Client Behaviour
Previously we got error messages depending on the issue with the underlying file:
Duplicate Column
Empty File
Rows have different numbers of values
V2 Client Behaviour
It now returns only the first part of the error, so we can't figure out the root cause from the Exception. Here's a logged stack trace for an empty file:
and here's one for rows have different numbers of values:
As you can see, we can no longer distinguish between the two errors.
The text was updated successfully, but these errors were encountered: