Repository: spark Updated Branches: refs/heads/master a97edc2cf -> aee2bd2c7
[SPARK-19444][ML][DOCUMENTATION] Fix imports not being present in documentation ## What changes were proposed in this pull request? SPARK-19444 imports not being present in documentation ## How was this patch tested? Manual ## Disclaimer Contribution is original work and I license the work to the project under the projectâs open source license Author: Aseem Bansal <anshban...@users.noreply.github.com> Closes #16789 from anshbansal/patch-1. Project: http://git-wip-us.apache.org/repos/asf/spark/repo Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/aee2bd2c Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/aee2bd2c Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/aee2bd2c Branch: refs/heads/master Commit: aee2bd2c7ee97a58f0adec82ec52e5625b39e804 Parents: a97edc2 Author: Aseem Bansal <anshban...@users.noreply.github.com> Authored: Tue Feb 7 11:44:14 2017 +0000 Committer: Sean Owen <so...@cloudera.com> Committed: Tue Feb 7 11:44:14 2017 +0000 ---------------------------------------------------------------------- .../java/org/apache/spark/examples/ml/JavaTokenizerExample.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/spark/blob/aee2bd2c/examples/src/main/java/org/apache/spark/examples/ml/JavaTokenizerExample.java ---------------------------------------------------------------------- diff --git a/examples/src/main/java/org/apache/spark/examples/ml/JavaTokenizerExample.java b/examples/src/main/java/org/apache/spark/examples/ml/JavaTokenizerExample.java index 101a4df..2fae07a 100644 --- a/examples/src/main/java/org/apache/spark/examples/ml/JavaTokenizerExample.java +++ b/examples/src/main/java/org/apache/spark/examples/ml/JavaTokenizerExample.java @@ -35,13 +35,11 @@ import org.apache.spark.sql.types.DataTypes; 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 public class JavaTokenizerExample { public static void main(String[] args) { --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org For additional commands, e-mail: commits-h...@spark.apache.org