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

Query Parameters Refactor

Open BentsiLeviav opened this issue 1 year ago • 4 comments

Description:

In the current implementation, clickhouse-java manually parses query parameters, supporting both traditional question marks and named parameters. We propose refactoring this process to leverage ClickHouse's parameters binding capabilities for a more streamlined and efficient parameter parsing.

This refactoring aligns with the methods used by other connectors, including:

All of these clients have comprehensive test suites (Python, JS, and Go) that can serve as valuable references for testing the proposed refactoring.

BentsiLeviav avatar Jan 09 '24 11:01 BentsiLeviav