This is an automated email from the ASF dual-hosted git repository.
danny0405 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hudi.git
The following commit(s) were added to refs/heads/master by this push:
new 1db22d84493 [HUDI-5876] Remove usage of deprecated TableConfig (#8094)
1db22d84493 is described below
commit 1db22d844935b1ee13dae6ccc5b0330096153cf3
Author: slfan1989 <[email protected]>
AuthorDate: Mon Mar 6 12:00:07 2023 +0800
[HUDI-5876] Remove usage of deprecated TableConfig (#8094)
Co-authored-by: slfan1989 <louj1988@@>
---
.../src/main/java/org/apache/hudi/sink/bulk/sort/SortOperatorGen.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/hudi-flink-datasource/hudi-flink/src/main/java/org/apache/hudi/sink/bulk/sort/SortOperatorGen.java
b/hudi-flink-datasource/hudi-flink/src/main/java/org/apache/hudi/sink/bulk/sort/SortOperatorGen.java
index 0c7f8866deb..36aabab8954 100644
---
a/hudi-flink-datasource/hudi-flink/src/main/java/org/apache/hudi/sink/bulk/sort/SortOperatorGen.java
+++
b/hudi-flink-datasource/hudi-flink/src/main/java/org/apache/hudi/sink/bulk/sort/SortOperatorGen.java
@@ -35,7 +35,7 @@ import java.util.Arrays;
public class SortOperatorGen {
private final int[] sortIndices;
private final RowType rowType;
- private final TableConfig tableConfig = new TableConfig();
+ private final TableConfig tableConfig = TableConfig.getDefault();
public SortOperatorGen(RowType rowType, String[] sortFields) {
this.sortIndices =
Arrays.stream(sortFields).mapToInt(rowType::getFieldIndex).toArray();