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

    https://github.com/apache/spark/pull/16789#discussion_r100771978
  
    --- Diff: 
examples/src/main/java/org/apache/spark/examples/ml/JavaTokenizerExample.java 
---
    @@ -35,13 +35,11 @@
     import org.apache.spark.sql.types.Metadata;
     import org.apache.spark.sql.types.StructField;
     import org.apache.spark.sql.types.StructType;
    -// $example off$
     
    -// $example on:untyped_ops$
     // col("...") is preferable to df.col("...")
     import static org.apache.spark.sql.functions.callUDF;
     import static org.apache.spark.sql.functions.col;
    -// $example off:untyped_ops$
    +// $example off
    --- End diff --
    
    PS I actually fixed this in my big "Java 8" PR for SPARK-19550 because I 
needed to get the examples to compile. If we don't get that merged soon yes 
let's fix this in a quick PR


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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to