Skip to content

Commit

Permalink
Update ClickHouseSinkTaskStringTest.java
Browse files Browse the repository at this point in the history
  • Loading branch information
Paultagoras committed Feb 4, 2025
1 parent 7532f2d commit fbcd881
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ private int countRowsWithEmojis(ClickHouseHelperClient chc, String topic) {
}
}
private int countRows(ClickHouseHelperClient chc, String topic) {
String queryCount = String.format("select count(*) from `%s`", topic);
String queryCount = String.format("select count(*) from `%s` SETTINGS select_sequential_consistency = 1", topic);
try {
Records records = chc.getClient().queryRecords(queryCount).get();
String value = records.iterator().next().getString(1);
Expand Down

0 comments on commit fbcd881

Please sign in to comment.