GitHub user fhueske opened a pull request:
https://github.com/apache/flink/pull/3546
[FLINK-6059] [table] Reject GenericType<Row> when converting DataSet or
DataStream to Table
When converting a `DataSet<Row>` or `DataStream<Row>` into a `Table` which
has `GenericTypeInfo<Row>` type, the row is treated as atomic type. This is
always a non-expected and confusing behavior.
With this change converting a `DataSet<Row>` or `DataStream<Row>` with
`GenericTypeInfo<Row>` into a `Table` fails. Instead we ask for a
`DataSet<Row>` or `DataStream<Row>` with proper `RowTypeInfo`.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/fhueske/flink tableNoGenericRow
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/3546.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #3546
----
commit 0064a9ed1270d1e139ff9a6b22df5cc95450ce59
Author: Fabian Hueske <[email protected]>
Date: 2017-03-15T12:24:42Z
[FLINK-6059] [table] Reject GenericType<Row> when converting DataSet or
DataStream to Table.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---