aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorXiao Li <gatorsmile@gmail.com>2017-02-13 11:18:31 +0000
committerSean Owen <sowen@cloudera.com>2017-02-13 11:18:31 +0000
commit855a1b7551c71b26ce7d9310342fefe0a87281ec (patch)
treefa4c986b2b319c8b308f245e6c6c3c5a94542c04 /examples
parent2bdbc87052389ff69404347fbc69457132dbcafd (diff)
downloadspark-855a1b7551c71b26ce7d9310342fefe0a87281ec.tar.gz
spark-855a1b7551c71b26ce7d9310342fefe0a87281ec.tar.bz2
spark-855a1b7551c71b26ce7d9310342fefe0a87281ec.zip
[SPARK-19574][ML][DOCUMENTATION] Fix Liquid Exception: Start indices amount is not equal to end indices amount
### What changes were proposed in this pull request? ``` Liquid Exception: Start indices amount is not equal to end indices amount, see /Users/xiao/IdeaProjects/sparkDelivery/docs/../examples/src/main/java/org/apache/spark/examples/ml/JavaTokenizerExample.java. in ml-features.md ``` So far, the build is broken after merging https://github.com/apache/spark/pull/16789 This PR is to fix it. ## How was this patch tested? Manual Author: Xiao Li <gatorsmile@gmail.com> Closes #16908 from gatorsmile/docMLFix.
Diffstat (limited to 'examples')
-rw-r--r--examples/src/main/java/org/apache/spark/examples/ml/JavaTokenizerExample.java2
1 files changed, 1 insertions, 1 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 2fae07a189..f42fd3317b 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
@@ -39,7 +39,7 @@ import org.apache.spark.sql.types.StructType;
// col("...") is preferable to df.col("...")
import static org.apache.spark.sql.functions.callUDF;
import static org.apache.spark.sql.functions.col;
-// $example off
+// $example off$
public class JavaTokenizerExample {
public static void main(String[] args) {