diff options
author | Aseem Bansal <anshbansal@users.noreply.github.com> | 2017-02-07 11:44:14 +0000 |
---|---|---|
committer | Sean Owen <sowen@cloudera.com> | 2017-02-07 11:44:14 +0000 |
commit | aee2bd2c7ee97a58f0adec82ec52e5625b39e804 (patch) | |
tree | c3681fb7a919470a1591dc0ef70796ff1d552de1 /examples | |
parent | a97edc2cf43bba5f94b213c824131f1c2dccecd6 (diff) | |
download | spark-aee2bd2c7ee97a58f0adec82ec52e5625b39e804.tar.gz spark-aee2bd2c7ee97a58f0adec82ec52e5625b39e804.tar.bz2 spark-aee2bd2c7ee97a58f0adec82ec52e5625b39e804.zip |
[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 <anshbansal@users.noreply.github.com>
Closes #16789 from anshbansal/patch-1.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/src/main/java/org/apache/spark/examples/ml/JavaTokenizerExample.java | 4 |
1 files changed, 1 insertions, 3 deletions
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 101a4df779..2fae07a189 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) { |