From dd1abef138581f30ab7a8dfacb616fe7dd64b421 Mon Sep 17 00:00:00 2001
From: Aseem Bansal <anshbansal@users.noreply.github.com>
Date: Tue, 7 Feb 2017 11:44:14 +0000
Subject: [PATCH] [SPARK-19444][ML][DOCUMENTATION] Fix imports not being
 present in documentation
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

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

(cherry picked from commit aee2bd2c7ee97a58f0adec82ec52e5625b39e804)
Signed-off-by: Sean Owen <sowen@cloudera.com>
---
 .../org/apache/spark/examples/ml/JavaTokenizerExample.java    | 4 +---
 1 file changed, 1 insertion(+), 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) {
-- 
GitLab