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

Jingsong Lee updated FLINK-27845:
---------------------------------
    Description: 
After schema changes, for example, a column with int type to bigint type. We 
should convert the data from the old type to the new type.
 * What types are safe to convert? According to the implicitCastingRules in 
LogicalTypeCasts.
 * Where to convert? DataFileReader
 * How to convert? In RecordIterator.next, we can convert old RowData to new 
RowData if there is a schema change.

  was:Currently we can convert the data from the old type to the new type 
according to the implicitCastingRules in LogicalTypeCasts.


> Introduce Column Type Schema evolution
> --------------------------------------
>
>                 Key: FLINK-27845
>                 URL: https://issues.apache.org/jira/browse/FLINK-27845
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Table Store
>            Reporter: Jingsong Lee
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: table-store-0.2.0
>
>
> After schema changes, for example, a column with int type to bigint type. We 
> should convert the data from the old type to the new type.
>  * What types are safe to convert? According to the implicitCastingRules in 
> LogicalTypeCasts.
>  * Where to convert? DataFileReader
>  * How to convert? In RecordIterator.next, we can convert old RowData to new 
> RowData if there is a schema change.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to