[jira] [Created] (FLINK-20673) ExecNode#getOutputType method should return LogicalType instead of RowType

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-20673) ExecNode#getOutputType method should return LogicalType instead of RowType

Shang Yuanchun (Jira)
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)