[jira] [Created] (FLINK-15083) Fix connectors only pick physical fields from TableSchema

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

[jira] [Created] (FLINK-15083) Fix connectors only pick physical fields from TableSchema

Shang Yuanchun (Jira)
Jark Wu created FLINK-15083:
-------------------------------

             Summary: Fix connectors only pick physical fields from TableSchema
                 Key: FLINK-15083
                 URL: https://issues.apache.org/jira/browse/FLINK-15083
             Project: Flink
          Issue Type: Sub-task
          Components: Connectors / Common, Table SQL / Planner
            Reporter: Jark Wu
             Fix For: 1.10.0


Currently, all the connectors will derive TableSchema from properties. But after introducing computed columns, the TableSchema contains generated columns. However, almost all the connectors use the drived TableSchema as {{TableSource#getTableSchema}} and {{TableSource#getProducedDataType}} which may produce wrong result.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)