Jark Wu created FLINK-14716:
-------------------------------
Summary: Cooperate computed column with project push down
Key: FLINK-14716
URL:
https://issues.apache.org/jira/browse/FLINK-14716 Project: Flink
Issue Type: Bug
Components: Table SQL / Planner
Reporter: Jark Wu
In FLINK-14665, we supported computed column in planner. However, the implementation of {{TableSourceTable#getRowType}} will include computed columns which is possibly not right, because computed column is generated in the downstream Project, not in the source scan.
This is possibly lead to errors when push project into source scan which will call {{TableSourceTable#getRowType}} in the rule. Currently, all the tests are passed because we don't have a test to cover this, i.e. computed column on a projectable TableSource. We should at least add a test to cover this.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)