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

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

> Nullability is lost in FamilyArgumentStrategy
> ---------------------------------------------
>
>                 Key: FLINK-38841
>                 URL: https://issues.apache.org/jira/browse/FLINK-38841
>             Project: Flink
>          Issue Type: Bug
>          Components: Table SQL / Planner
>            Reporter: dylanhz
>            Priority: Major
>              Labels: pull-request-available
>
> Currently, in FamilyArgumentStrategy#inferArgumentType, if the actualType 
> belongs to the expectedFamily, the method returns the actualDataType 
> directly, ignoring the expectedNullability constraint.
> {code:java}
>  // type is part of the family
> if (actualType.getTypeRoot().getFamilies().contains(expectedFamily)) {
>     return Optional.of(actualDataType);
> }
> {code}
> This behavior is inconsistent with RootArgumentStrategy, where the 
> expectedNullability is strictly enforced.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to