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
Execute batch doesn't work for new "delete" syntax #296
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)
java.sql.SQLSyntaxErrorException: Query must be like 'INSERT INTO [db.]table [(c1, c2, c3)] VALUES (?, ?, ?)'. Got: ALTER TABLE reporting_average_minute delete WHERE device_id = ?
at ru.yandex.clickhouse.ClickHousePreparedStatementImpl.executeBatch(ClickHousePreparedStatementImpl.java:355) ~[clickhouse-jdbc-0.1.50.jar:?]
at ru.yandex.clickhouse.ClickHousePreparedStatementImpl.executeBatch(ClickHousePreparedStatementImpl.java:348) ~[clickhouse-jdbc-0.1.50.jar:?]
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
aimhighmp commentedon Feb 28, 2019
Hi.. We are also experiencing same issue? Is there plan to update JDBC API to support Delete/Alter with PreparedStatement?
Thanks