laglangyue commented on code in PR #4490:
URL:
https://github.com/apache/incubator-seatunnel/pull/4490#discussion_r1174598906
##########
seatunnel-translation/seatunnel-translation-spark/seatunnel-translation-spark-3.3/src/main/java/org/apache/seatunnel/translation/spark/serialization/InternalRowConverter.java:
##########
@@ -241,4 +244,26 @@ private static Object reconvertArray(ArrayData arrayData,
ArrayType<?, ?> arrayT
}
return newArray;
}
+
+ public Object[] convertToFields(InternalRow internalRow, StructType
structType) {
Review Comment:
For example when I query a row from source, but I just want convert it's
name it will exception;
##########
seatunnel-translation/seatunnel-translation-spark/seatunnel-translation-spark-3.3/src/main/java/org/apache/seatunnel/translation/spark/serialization/InternalRowConverter.java:
##########
@@ -241,4 +244,26 @@ private static Object reconvertArray(ArrayData arrayData,
ArrayType<?, ?> arrayT
}
return newArray;
}
+
+ public Object[] convertToFields(InternalRow internalRow, StructType
structType) {
Review Comment:
For example, when I query a row from source, but I just want convert it's
name it will exception;
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]