Skip to content

HTTP Request body not compressed for non-insert query with ExternalData #474

@martijnthe

Description

@martijnthe

We use the ExternalData to load data from other sources alongside a query into ClickHouse. This is working well, in general.

However, when looking at the HTTP traffic made by clickhouse-connect, I noticed that the POST request body data is actually uncompressed for these queries.

This is unfortunate, because the ExternalData files which we are loading can be large (tens of MBs) and well-compressable. So, it is reasonable to expect performance gains from compressing the POST request body.

I inspected the source code, but from what I can tell, there is no compression done on the request body for non-INSERT requests at all.

I would like to request to get this added to clickhouse-connect. Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions