Fabian Hueske created FLINK-8179:
------------------------------------
Summary: 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: Improvement
Components: Table API & SQL
Affects Versions: 1.5.0
Reporter: Fabian Hueske
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
(v6.4.14#64029)