You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: elasticsearch6/elasticsearch6-sink/src/main/java/com/dtstack/flink/sql/sink/elasticsearch/CustomerSinkFunc.java
+9-11Lines changed: 9 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -53,7 +53,7 @@ public class CustomerSinkFunc implements ElasticsearchSinkFunction<Tuple2> {
53
53
54
54
privateStringtype;
55
55
56
-
privateList<Integer> idFieldIndexList;
56
+
privateList<String> idFiledNames;
57
57
58
58
privateList<String> fieldNames;
59
59
@@ -63,12 +63,12 @@ public class CustomerSinkFunc implements ElasticsearchSinkFunction<Tuple2> {
Copy file name to clipboardExpand all lines: elasticsearch6/elasticsearch6-sink/src/main/java/com/dtstack/flink/sql/sink/elasticsearch/ElasticsearchSink.java
Preconditions.checkState(filedNamesLists.containsAll(idFiledNames), "elasticsearch6 type of id %s is should be exists in columns %s.", idFiledNames, filedNamesLists);
Copy file name to clipboardExpand all lines: elasticsearch6/elasticsearch6-sink/src/main/java/com/dtstack/flink/sql/sink/elasticsearch/table/ElasticsearchTableInfo.java
-6Lines changed: 0 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -130,12 +130,6 @@ public boolean check() {
130
130
Preconditions.checkNotNull(esType, "elasticsearch6 type of type is required");
131
131
Preconditions.checkNotNull(clusterName, "elasticsearch6 type of clusterName is required");
0 commit comments