You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Martijn Visser (Jira)" <ji...@apache.org> on 2026/10/12 16:30:00 UTC
[jira] [Created] (FLINK-40980) JsonRowDataSerDeSchemaTest array tests don't cover the JsonParser deserializer
Martijn Visser created FLINK-40980:
--------------------------------------
Summary: JsonRowDataSerDeSchemaTest array tests don't cover the JsonParser deserializer
Key: FLINK-40980
URL: https://issues.apache.org/jira/browse/FLINK-40980
Project: Flink
Issue Type: Bug
Components: Formats (JSON, Avro, Parquet, ORC, SequenceFile), Tests
Reporter: Martijn Visser
Assignee: Martijn Visser
{{testEmptyJsonArrayDeserialization}} and {{testJsonArrayToMultiRecords}} in {{JsonRowDataSerDeSchemaTest}} pass {{isJsonParser}} to {{createDeserializationSchema}}, but they are plain {{@Test}} methods, so the field is always false and only {{JsonRowDataDeserializationSchema}} is tested. The top-level array handling in {{JsonParserRowDataDeserializationSchema}} from FLINK-18590 isn't covered by any test in {{flink-json}}. We should run both tests as {{@TestTemplate}}, like the other tests in the class that use the parameter.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)