Skip to content

Commit dd1abef

Browse files
anshbansalsrowen
authored andcommitted
[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 <[email protected]> Closes #16789 from anshbansal/patch-1. (cherry picked from commit aee2bd2) Signed-off-by: Sean Owen <[email protected]>
1 parent 62fab5b commit dd1abef

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

examples/src/main/java/org/apache/spark/examples/ml/JavaTokenizerExample.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,11 @@
3535
import org.apache.spark.sql.types.Metadata;
3636
import org.apache.spark.sql.types.StructField;
3737
import org.apache.spark.sql.types.StructType;
38-
// $example off$
3938

40-
// $example on:untyped_ops$
4139
// col("...") is preferable to df.col("...")
4240
import static org.apache.spark.sql.functions.callUDF;
4341
import static org.apache.spark.sql.functions.col;
44-
// $example off:untyped_ops$
42+
// $example off
4543

4644
public class JavaTokenizerExample {
4745
public static void main(String[] args) {

0 commit comments

Comments
 (0)