Github user twalthr commented on a diff in the pull request:
https://github.com/apache/incubator-flink/pull/203#discussion_r20855874
--- Diff:
flink-java/src/main/java/org/apache/flink/api/java/io/CsvOutputFormat.java ---
@@ -217,7 +218,7 @@ public String toString() {
*/
@Override
public void setInputType(TypeInformation<?> type) {
- if (!type.isTupleType()) {
+ if (!type.isTupleType() && !(type instanceof UnknownTypeInfo)) {
--- End diff --
Thats one of the points that need to be discussed. type.isTupleType() can
return false, but since it is an UnkownType it can be a TupleType and thus the
job runs successfully anyways.
---
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.
---