From 054d4aead437e6e530acefa7874017ae94e77a2b Mon Sep 17 00:00:00 2001 From: ganfengtan Date: Sun, 1 May 2022 10:00:02 +0800 Subject: [PATCH] [INLONG-4050][sort] Fix parameter definition error of hive load --- .../inlong/sort/protocol/node/load/HiveLoadNode.java | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/inlong-sort/sort-common/src/main/java/org/apache/inlong/sort/protocol/node/load/HiveLoadNode.java b/inlong-sort/sort-common/src/main/java/org/apache/inlong/sort/protocol/node/load/HiveLoadNode.java index 4efaa0abc57..d4f114f8962 100644 --- a/inlong-sort/sort-common/src/main/java/org/apache/inlong/sort/protocol/node/load/HiveLoadNode.java +++ b/inlong-sort/sort-common/src/main/java/org/apache/inlong/sort/protocol/node/load/HiveLoadNode.java @@ -27,7 +27,6 @@ import org.apache.inlong.sort.formats.common.LocalZonedTimestampFormatInfo; import org.apache.inlong.sort.formats.common.TimestampFormatInfo; import org.apache.inlong.sort.protocol.FieldInfo; -import org.apache.inlong.sort.protocol.enums.FilterStrategy; import org.apache.inlong.sort.protocol.node.LoadNode; import org.apache.inlong.sort.protocol.transformation.FieldRelationShip; import org.apache.inlong.sort.protocol.transformation.FilterFunction; @@ -37,9 +36,6 @@ import java.util.List; import java.util.Map; -/** - * hive load node with flink connectors - */ @EqualsAndHashCode(callSuper = true) @JsonTypeName("hiveLoad") @Data @@ -83,7 +79,6 @@ public HiveLoadNode(@JsonProperty("id") String id, @JsonProperty("fields") List fields, @JsonProperty("fieldRelationShips") List fieldRelationShips, @JsonProperty("filters") List filters, - @JsonProperty("filterStrategy") FilterStrategy filterStrategy, @JsonProperty("sinkParallelism") Integer sinkParallelism, @JsonProperty("properties") Map properties, @JsonProperty("catalogName") String catalogName, @@ -93,7 +88,7 @@ public HiveLoadNode(@JsonProperty("id") String id, @JsonProperty("hiveVersion") String hiveVersion, @JsonProperty("hadoopConfDir") String hadoopConfDir, @JsonProperty("parFields") List partitionFields) { - super(id, name, fields, fieldRelationShips, filters, filterStrategy, sinkParallelism, properties); + super(id, name, fields, fieldRelationShips, filters, sinkParallelism, properties); this.database = Preconditions.checkNotNull(database, "database of hive is null"); this.tableName = Preconditions.checkNotNull(tableName, "table of hive is null"); this.hiveVersion = Preconditions.checkNotNull(hiveVersion, "version of hive is null");