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:06:00 UTC
[jira] [Created] (FLINK-20673) ExecNode#getOutputType method should
return LogicalType instead of RowType
godfrey he created FLINK-20673:
----------------------------------
Summary: 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
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)