clickhouse-java icon indicating copy to clipboard operation
clickhouse-java copied to clipboard

Query parameters can't be sent through POST body

Open jcubells opened this issue 8 months ago • 3 comments

Use case

Currently, the query parameters are always sent as URI params, which can be problematic when there are numerous params (or long params)

Describe the solution you'd like

I would like to be able to send the query params in the body of the query instead of the URI. The server already supports this as shown here https://github.com/ClickHouse/ClickHouse/issues/8842

The client should offer the option to send query parameters and query in a multipart body like shown in the linked issue

jcubells avatar Apr 22 '25 14:04 jcubells

I'd like to upvote this one, sending parameters via POST would be much better.

andris-rauda avatar Jun 09 '25 10:06 andris-rauda

Same from me, we got 500 because of param length limit was exceeded

kmteracloud avatar Jun 26 '25 10:06 kmteracloud

will look into it soon.

chernser avatar Nov 14 '25 23:11 chernser