Skip to content

Commit

Permalink
Changing back for now
Browse files Browse the repository at this point in the history
Changing this back for now because the version we use doesn't support "auto"
  • Loading branch information
Paultagoras committed Jul 16, 2023
1 parent 91a2796 commit dd8f2d9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ public void doInsertRawBinary(List<Record> records) throws IOException, Executio
.table(table.getName())
.format(ClickHouseFormat.RowBinary)
// this is needed to get meaningful response summary
.set("insert_quorum", "auto")
.set("insert_quorum", 2)
.set("send_progress_in_http_headers", 1);

ClickHouseConfig config = request.getConfig();
Expand Down Expand Up @@ -451,7 +451,7 @@ public void doInsertJson(List<Record> records) throws IOException, ExecutionExce
.table(table.getName())
.format(ClickHouseFormat.JSONEachRow)
// this is needed to get meaningful response summary
.set("insert_quorum", "auto")
.set("insert_quorum", 2)
.set("input_format_skip_unknown_fields", 1)
.set("send_progress_in_http_headers", 1);

Expand Down

0 comments on commit dd8f2d9

Please sign in to comment.