mincwang commented on a change in pull request #3842:
URL: https://github.com/apache/hudi/pull/3842#discussion_r734928697



##########
File path: hudi-flink/src/main/java/org/apache/hudi/table/HoodieTableSource.java
##########
@@ -268,6 +266,16 @@ private DataType getProducedDataType() {
     return requiredPartitions;
   }
 
+  private String getSourceOperatorName(String operatorName) {
+    String[] schemaFieldNames = this.schema.getColumnNames().toArray(new 
String[0]);
+    List<String> fields = Arrays.stream(Arrays.stream(this.requiredPos)
+        .mapToObj(i -> schemaFieldNames[i])
+        .toArray(String[]::new))
+        .collect(Collectors.toList());

Review comment:
       Ok, I'm going to replace it with a `StringBuilder`




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@hudi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to