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 2019/05/24 06:53:00 UTC

[jira] [Updated] (FLINK-12611) Make time indicator nullable in blink

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

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

> Make time indicator nullable in blink
> -------------------------------------
>
>                 Key: FLINK-12611
>                 URL: https://issues.apache.org/jira/browse/FLINK-12611
>             Project: Flink
>          Issue Type: Improvement
>          Components: Table SQL / Planner
>            Reporter: Jingsong Lee
>            Assignee: Jingsong Lee
>            Priority: Major
>              Labels: pull-request-available
>
> SQL: select max(rowtime), count(a) from T
> There will be a AssertionError: type mismatch:
> aggCall type:
> TIMESTAMP(3) NOT NULL
> inferred type:
> TIMESTAMP(3)
> Agg type checking is done before TimeIndicator materializes. So there is a exception.
> And before introducing nullable of LogicalType, we should modify this to avoid more potential TypeCheck problems.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)