[
https://issues.apache.org/jira/browse/FLINK-6059?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Fabian Hueske closed FLINK-6059.
--------------------------------
Resolution: Fixed
Fix Version/s: 1.2.2
1.3.0
Fixed for 1.3.0 with c8eb55f17d64722bb600c1083a478ab99e53f4ec
Fixed for 1.2.2 with fdb3f65f2d6595b88edae849ae6c848e5bbfaa2d
> Reject DataSet<Row> and DataStream<Row> without RowTypeInformation
> ------------------------------------------------------------------
>
> Key: FLINK-6059
> URL: https://issues.apache.org/jira/browse/FLINK-6059
> Project: Flink
> Issue Type: Bug
> Components: Table API & SQL
> Affects Versions: 1.2.0, 1.3.0
> Reporter: Fabian Hueske
> Assignee: Fabian Hueske
> Fix For: 1.3.0, 1.2.2
>
>
> It is not possible to automatically extract proper type information for
> {{Row}} because it is not typed with generics and holds values in an
> {{Object[]}}.
> Consequently is handled as {{GenericType<Row>}} unless a {{RowTypeInfo}} is
> explicitly specified.
> This can lead to unexpected behavior when converting a {{DataSet<Row>}} or
> {{DataStream<Row>}} into a Table. If the data set or data stream has a
> {{GenericType<Row>}}, the rows are treated as atomic type and converted into
> a single field.
> I think we should reject input types of {{GenericType<Row>}} when converting
> data sets and data streams and request a proper {{RowTypeInfo}}.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)