hanwei996 commented on code in PR #2356:
URL:
https://github.com/apache/incubator-seatunnel/pull/2356#discussion_r938979595
##########
seatunnel-apis/seatunnel-api-flink/src/main/java/org/apache/seatunnel/flink/util/SchemaUtil.java:
##########
@@ -117,8 +120,27 @@ public static FormatDescriptor setFormat(FormatType
format, Config config) throw
return formatDescriptor;
}
- private static void getJsonSchema(Schema schema, ObjectNode json) {
- Iterator<Map.Entry<String, JsonNode>> nodeIterator = json.fields();
+ private static void getJsonSchema(Schema schema, String json) {
Review Comment:
The Flink schema is not familiar enough to know if this is the right thing
to do

--
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]