Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[client-v2] Incorrect read of server error when server response is compressed #1821

Open
chernser opened this issue Sep 12, 2024 · 0 comments
Labels
Milestone

Comments

@chernser
Copy link
Contributor

When compression is on (default case) and error happens - it is read from a raw stream, but should be wrapped with LZ4 Input Stream.

Steps to reproduce

  1. send query select asd123
  2. observe error with non-ascii symbols

Expected behavior

Error message should be a human readable string

Code example

Error log

Configuration

Environment

  • Client version:
  • Language version:
  • OS:

ClickHouse server

  • ClickHouse Server version:
  • ClickHouse Server non-default settings, if any:
  • CREATE TABLE statements for tables involved:
  • Sample data for all these tables, use clickhouse-obfuscator if necessary
@chernser chernser added the bug label Sep 12, 2024
@chernser chernser added this to the 0.7.0 milestone Sep 12, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant