Skip to content

Commit

Permalink
[bug] fix json parse bug (apache#3624)
Browse files Browse the repository at this point in the history
if  not json array, parse as normal json
  • Loading branch information
hx23840 authored Dec 5, 2022
1 parent be46efc commit 5e49832
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,9 @@ public void collect(byte[] message, Collector<SeaTunnelRow> out) throws IOExcept
SeaTunnelRow deserialize = convertJsonNode(arrayNode.get(i));
out.collect(deserialize);
}
} else {
SeaTunnelRow deserialize = convertJsonNode(jsonNode);
out.collect(deserialize);
}
}

Expand Down

0 comments on commit 5e49832

Please sign in to comment.