Github user fhueske commented on the issue:

    https://github.com/apache/flink/pull/2078
  
    Hi @gallenvara, this issue cannot be easily solved. The `TypeInfo` check in 
`UnionOperator` cannot be removed, because it prevents that incompatible 
serializers are used at runtime. However, the equality check of the 
`RowTypeInfo` is a bit too strict. `RowTypeInfo` is based on `CaseClassInfo` 
which check for field types and names (which is fine for case classes). 
However, for `Row` we only need to check for types. Actually, I think we can 
remove the `fieldNames` parameter from the `RowTypeInfo` constructor and always 
create default field names ("f0", "f1", ...) as done in some of the other 
constructors.


---
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.
---

Reply via email to