[
https://issues.apache.org/jira/browse/FLINK-8179?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Timo Walther updated FLINK-8179:
--------------------------------
Parent: FLINK-12251
Issue Type: Sub-task (was: Improvement)
> Convert CharSequence to String when registering / converting a Table
> --------------------------------------------------------------------
>
> Key: FLINK-8179
> URL: https://issues.apache.org/jira/browse/FLINK-8179
> Project: Flink
> Issue Type: Sub-task
> Components: Table SQL / API
> Affects Versions: 1.5.0
> Reporter: Fabian Hueske
> Priority: Minor
> Labels: auto-deprioritized-major
>
> Avro objects store text values as `java.lang.CharSequence`. Right now, these
> fields are treated as `ANY` type by Calcite (`GenericType` by Flink). So,
> importing a `DataStream` or `DataSet` of Avro objects results in Table where
> the text values cannot be used as String fields.
> We should convert `CharSequence` fields to `String` when importing /
> converting to a Table.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)