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
Hi @obeah, thanks for the report. I think it's same as #1246. Since options/custom settings did not work, perhaps you can try to use custom query? For example:
.write()
.data(ClickHouseFile.of(newFile(csvPath)))
.query("insert into table1 settings a=1,b=2 format CSV")
.format(ClickHouseFormat.CSVWithNames)
.executeAndWait();
Hi,
after upgrading to 0.4.1 as per instructions in another issue (#1001) I try the following code to bulk load csv:
and it works
But I also need to pass some setting. After I add thew following to the chain:
I get an exception:
Caused by: com.clickhouse.client.ClickHouseException: Expect one SQL statement to execute but we got 3, server ClickHouseNode
Before upgrading I used .option("date_time_input_format", "best_effort")
What would be the correct way of passing settings in this version?
The text was updated successfully, but these errors were encountered: