You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "godfrey he (Jira)" <ji...@apache.org> on 2020/12/18 10:11:00 UTC
[jira] [Assigned] (FLINK-20673) ExecNode#getOutputType method
should return LogicalType instead of RowType
[ https://issues.apache.org/jira/browse/FLINK-20673?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
godfrey he reassigned FLINK-20673:
----------------------------------
Assignee: godfrey he
> 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
> Assignee: 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)