-
Notifications
You must be signed in to change notification settings - Fork 30
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
An error occurred in a middle of a select stream processing should be thrown #332
Labels
Comments
Related: ClickHouse/ClickHouse#46426 |
ClickHouse seems to attach |
@slvrtrn we can test the ClickHouse behaviour after ClickHouse/ClickHouse#68800 (available in |
This was referenced Jan 16, 2025
depends on ClickHouse/ClickHouse#75175 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Min repro (note:
wait_end_of_query
setting is not used):Prints:
However, the client should handle and throw during the stream consumption instead of providing the error as a row.
Caveat: the stream error representation depends on the format.
For example:
JSON
,JSONCompact
,JSONStrings
,JSONCompactStrings
- the exception resides in theexception
field and can be extracted from thereJSONObjectEachRow behaves similarly to JSON
CSV, TSV - those formats contain the error in the last line
JSONEachRow
JSONCompact*EachRow
Worst case:
JSONColumnsWithMetadata
Parquet: probably won't be able to catch it, unless we add
parquet-wasm
as a package dependency to parse the last rowThe text was updated successfully, but these errors were encountered: