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 fbcd881 commit d29102c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

public class ClickHouseSinkTaskStringTest extends ClickHouseBase {
private int countRowsWithEmojis(ClickHouseHelperClient chc, String topic) {
String queryCount = "select count(*) from " + topic + " where str LIKE '%\uD83D\uDE00%'";
String queryCount = "select count(*) from " + topic + " where str LIKE '%\uD83D\uDE00%' SETTINGS select_sequential_consistency = 1";
try {
Records records = chc.getClient().queryRecords(queryCount).get();
String value = records.iterator().next().getString(1);
Expand Down

0 comments on commit d29102c

Please sign in to comment.