flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jingsong Lee (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLINK-12611) Make time indicator nullable in blink
Date Fri, 24 May 2019 06:50:00 GMT
Jingsong Lee created FLINK-12611:
------------------------------------

             Summary: 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


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)

Mime
View raw message