lsyldliu commented on code in PR #23012:
URL: https://github.com/apache/flink/pull/23012#discussion_r1268292637
##########
flink-formats/flink-json/src/test/java/org/apache/flink/formats/json/JsonRowDataSerDeSchemaTest.java:
##########
@@ -724,7 +786,7 @@ private void testParseErrors(TestSpec spec) {
TestSpec.json("{\"id\":\"abc\"}")
.rowType(ROW(FIELD("id", INT())))
.expectErrorMessage("Failed to deserialize JSON
'{\"id\":\"abc\"}'."),
- TestSpec.json("{\"id\":112.013}")
+ TestSpec.json("{\"id\":112}")
Review Comment:
Yes, the `JsonParser` can't parse double type to bigint.
`JsonParser` logic:

`JsonNode` logic:

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