You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2026/10/12 16:49:00 UTC

[jira] [Updated] (FLINK-40980) JsonRowDataSerDeSchemaTest array tests don't cover the JsonParser deserializer

     [ https://issues.apache.org/jira/browse/FLINK-40980?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ASF GitHub Bot updated FLINK-40980:
-----------------------------------
    Labels: pull-request-available  (was: )

> 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
>            Priority: Major
>              Labels: pull-request-available
>
> {{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)