You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Jingsong Lee (Jira)" <ji...@apache.org> on 2022/07/26 11:55:00 UTC

[jira] [Closed] (FLINK-28686) Spark table with column comment cannot be read/write by Flink

     [ https://issues.apache.org/jira/browse/FLINK-28686?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jingsong Lee closed FLINK-28686.
--------------------------------
    Resolution: Fixed

master: 0dcf21dc1b6c17057083c144f5bda9ec7dbf0324
release-0.2: 3c76a3916e55271eb08e10d03b4124fb8325d6b8

> Spark table with column comment cannot be read/write by Flink
> -------------------------------------------------------------
>
>                 Key: FLINK-28686
>                 URL: https://issues.apache.org/jira/browse/FLINK-28686
>             Project: Flink
>          Issue Type: Bug
>          Components: Table Store
>    Affects Versions: table-store-0.2.0
>            Reporter: Jane Chan
>            Priority: Blocker
>              Labels: pull-request-available
>             Fix For: table-store-0.2.0
>
>         Attachments: screenshot-1.png
>
>
> The reason is that org.apache.flink.table.api.TableSchema#toPhysicalRowDataType lost column comments, which leads to comparison failure in AbstractTableStoreFactory#buildFileStoreTable.
> !screenshot-1.png|width=662,height=253!
>  
> The reason why Flink does not encounter this problem is due to the column is lost before persisting the schema



--
This message was sent by Atlassian Jira
(v8.20.10#820010)