You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Rong Rong (JIRA)" <ji...@apache.org> on 2017/10/25 18:14:00 UTC

[jira] [Created] (FLINK-7922) leastRestrictive in FlinkTypeFactory does not resolve composite type correctly

Rong Rong created FLINK-7922:
--------------------------------

             Summary: leastRestrictive in FlinkTypeFactory does not resolve composite type correctly
                 Key: FLINK-7922
                 URL: https://issues.apache.org/jira/browse/FLINK-7922
             Project: Flink
          Issue Type: Bug
            Reporter: Rong Rong


FlinkTypeFactory does not override the following function correctly:
`leastRestrictive(types: util.List[RelDataType]): RelDataType = { //... }` 
to deal with situations like
```
CASE 
  WHEN <CONDITION> THEN 
    <COMPOSITE_TYPE> 
  ELSE 
    NULL 
END
```
will trigger runtime exception



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)