Skip to content

does't support large request (>16Kb) #222

@dcastanier

Description

@dcastanier

I try to insert some data on a table with many columns with a large name.
Unfortunately, the query (insert into tablexxxx (col1xxxx, col2xxxx, ...) is above 16Kb, and ClickHouse Server reject the call and close the socket.
On the client side, we see UNKNOWN_EXCEPTION(1002) caused by a SocketException: Broken pipe.
All there calls fall in this issue (executeBatch, sendStream, sendRowBinaryStream, sendNativeStream) since all calls pass the query in URL.
The doc explains with limit and how to workaround : https://clickhouse.yandex/docs/en/interfaces/http_interface/

The workaround is to pass the query in the HTTP body in place of URL works fine.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions