[
https://issues.apache.org/jira/browse/FLINK-20673?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
godfrey he updated FLINK-20673:
-------------------------------
Fix Version/s: 1.13.0
> ExecNode#getOutputType method should return LogicalType instead of RowType
> --------------------------------------------------------------------------
>
> Key: FLINK-20673
> URL: https://issues.apache.org/jira/browse/FLINK-20673
> Project: Flink
> Issue Type: Sub-task
> Components: Table SQL / Planner
> Reporter: godfrey he
> Priority: Major
> Fix For: 1.13.0
>
>
> Currently, {{ExecNode#getOutputType}} always returns {{RowType}}. But some
> nodes do not return {{RowData}}, such as {{BatchExecSink}} and
> {{StreamExecSink}}. The output type of {{ExecNode}} should be consistent with
> the type parameter {{T}}. So {{ExecNode#getOutputType}} should return
> {{LogicalType}} instead of {{RowType}}, each subclass cast the
> {{LogicalType}} to specific type when using it.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)