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)

Reply via email to