You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Jark Wu (Jira)" <ji...@apache.org> on 2019/12/05 16:06:00 UTC

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

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)