Skip to content

[client-v2] Handling errors from a server #1821

Closed
@chernser

Description

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

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions