[
https://issues.apache.org/jira/browse/FLINK-13536?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Flink Jira Bot updated FLINK-13536:
-----------------------------------
Labels: stale-minor (was: )
> Improve nullability handling in Types
> -------------------------------------
>
> Key: FLINK-13536
> URL: https://issues.apache.org/jira/browse/FLINK-13536
> Project: Flink
> Issue Type: Improvement
> Components: API / Type Serialization System, Formats (JSON, Avro,
> Parquet, ORC, SequenceFile)
> Affects Versions: 1.8.0
> Reporter: François Lacombe
> Priority: Minor
> Labels: stale-minor
>
> Currently, Avro to Flink type matching doesn't propagate nullability
> definition.
> In Avro :
> {code:java}
> "type":["null","string"]{code}
> allows Java String myField=null;
> while
> {code:java}
> "type":"string"{code}
> doesn't.
> It may be good to find corresponding property in Flink types too as to check
> for nullability in JsonRowDeserializationSchema for instance (null or absent
> field in parsed JSON should only be possible on nullable fields)
>
> Thanks in advance
--
This message was sent by Atlassian Jira
(v8.3.4#803005)