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

Jane Chan updated FLINK-28686:
------------------------------
    Description: 
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

> 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: Major
>             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)

Reply via email to