Skip to content

Commit

Permalink
[Hotfix][connector-v2][clickhouse] fix CI error
Browse files Browse the repository at this point in the history
  • Loading branch information
wowzx committed Aug 22, 2023
1 parent 73c42f3 commit 27df84c
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,9 @@ private boolean supportReplacingMergeTreeTableUpsert() {

private String[] getDefaultProjectionFields() {
List<String> fieldNames = Arrays.asList(rowType.getFieldNames());
return fieldNames.stream().filter(clickhouseTableSchema::containsKey).toArray(String[]::new);
return fieldNames.stream()
.filter(clickhouseTableSchema::containsKey)
.toArray(String[]::new);
}

public JdbcBatchStatementExecutor build() {
Expand Down

0 comments on commit 27df84c

Please sign in to comment.