Skip to content

Commit

Permalink
Fix flink getUTF8Bytes and some tests
Browse files Browse the repository at this point in the history
  • Loading branch information
codope committed Sep 12, 2023
1 parent dc916fc commit 75b9207
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
import org.apache.hudi.avro.HoodieBloomFilterWriteSupport;
import org.apache.hudi.common.bloom.BloomFilter;
import org.apache.hudi.common.util.Option;
import org.apache.hudi.common.util.StringUtils;

import org.apache.flink.table.data.RowData;
import org.apache.flink.table.types.logical.RowType;
Expand Down Expand Up @@ -70,7 +71,7 @@ public HoodieBloomFilterRowDataWriteSupport(BloomFilter bloomFilter) {

@Override
protected byte[] getUTF8Bytes(String key) {
return getUTF8Bytes(key);
return StringUtils.getUTF8Bytes(key);
}
}
}

0 comments on commit 75b9207

Please sign in to comment.