Github user uce commented on a diff in the pull request:

    https://github.com/apache/incubator-flink/pull/194#discussion_r20572664
  
    --- Diff: 
flink-java/src/main/java/org/apache/flink/api/java/operators/ProjectOperator.java
 ---
    @@ -63,11 +73,28 @@ public ProjectOperator(DataSet<IN> input, int[] fields, 
TupleTypeInfo<OUT> retur
     
                return ppo;
        }
    -
    +   
    +   @SuppressWarnings("hiding")
    +   public <OUT extends Tuple> ProjectOperator<?, OUT> project(int... 
fieldIndexes) {
    +           proj.acceptAdditionalIndexes(fieldIndexes);
    +           
    +           return proj.projectTupleX();
    +   }
    +   /**
    +    * A fake types() call to make codes compatible
    +    * @param types
    +    * @return
    +    */
    +   @SuppressWarnings({ "unchecked", "hiding" })
    +   @Deprecated
    +   public <OUT extends Tuple> ProjectOperator<?, OUT> types(Class<?>... 
types) {
    +           return (ProjectOperator<?, OUT>) this;
    +   }
    +   
        public static class Projection<T> {
                
    -           private final DataSet<T> ds;
    -           private final int[] fieldIndexes;
    +           private final DataSet<T> ds;            
    --- End diff --
    
    trivial: tab


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