[
https://issues.apache.org/jira/browse/FLINK-1245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14224398#comment-14224398
]
ASF GitHub Bot commented on FLINK-1245:
---------------------------------------
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.
> Introduce TypeHints for Java API operators
> ------------------------------------------
>
> Key: FLINK-1245
> URL: https://issues.apache.org/jira/browse/FLINK-1245
> Project: Flink
> Issue Type: Improvement
> Components: Java API
> Reporter: Timo Walther
> Assignee: Timo Walther
>
> Due to type extraction issues with Java 8 Lambdas and many users with type
> erasure issues, TypeHints need to be introduced.
> The whole discussion can be found on the mailing list:
> http://mail-archives.apache.org/mod_mbox/flink-dev/201410.mbox/%[email protected]%3E
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)