You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Problem with SELECT statements without whitespaces #479
bugjdbcModule: the JDBC driver (jdbc-v2; with legacy: the v1 driver)legacyOnly the v1 stack (clickhouse-client, clickhouse-http-client, clickhouse-jdbc) has the problemqueriesArea: how the client builds and runs statements (parameters, quoting, batches)
When a query doesn't contain whitespaces (NOT including \r, \n or \t) then driver doesn't return any resultset. I.e. Statement.execute(sql) returns false. Adding a single whitespace character to a query fixes the problem.
No working query:
select1
Working query:
select1
The only difference that in first case we use \r\n between select and 1.
It is a not a major issue but in some cases it can make user insane :(
bugjdbcModule: the JDBC driver (jdbc-v2; with legacy: the v1 driver)legacyOnly the v1 stack (clickhouse-client, clickhouse-http-client, clickhouse-jdbc) has the problemqueriesArea: how the client builds and runs statements (parameters, quoting, batches)
Activity