Github user StephanEwen commented on the issue:
https://github.com/apache/flink/pull/3127
I am a bit skeptical about the special case handling or Row in the type
exatractor there.
Why specifically support row and not other types? To me, Row does not seem
like a most common type to be put into the collection inputs that it needs such
special case handling.
Also, this does not detect if the different rows have conflicting types in
the columns (such as `row1[x] = int, row2[x] = String).
What do you think about simply improving how to generate a row type info
(similar as we did with `TypeHint` for other types)? Then
`StreamExecutionEnvironment.fromCollection(rows, type)` should work quite well.
---
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.
---