Github user uce commented on the pull request:
https://github.com/apache/incubator-flink/pull/194#issuecomment-64593654
While trying around locally I noticed a problem. The current master catches
the type mismatch in the following program during compilation time, whereas the
new branch does not. The resulting output is still correct, but we want to
still be able to catch these mismatches, no?
```java
final ExecutionEnvironment env =
ExecutionEnvironment.getExecutionEnvironment();
Tuple2<Integer, Integer>[] data = new Tuple2Builder<Integer, Integer>()
.add(0, 1)
.add(2, 3)
.add(4, 5)
.build();
DataSet<Tuple2<Integer, Integer>> input = env.fromElements(data);
DataSet<Tuple2<Integer, String>> output = input.project(0,
0).types(Integer.class, Integer.class);
output.print();
env.execute();
```
---
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.
---