You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Fabian Hueske (JIRA)" <ji...@apache.org> on 2017/11/30 10:45:00 UTC
[jira] [Created] (FLINK-8179) Convert CharSequence to String when
registering / converting a Table
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)