[ 
https://issues.apache.org/jira/browse/SPARK-19444?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15851382#comment-15851382
 ] 

Aseem Bansal commented on SPARK-19444:
--------------------------------------

[~srowen]
I can find the location at 
https://github.com/apache/spark/blob/master/docs/ml-features.md
which led me to 
https://github.com/apache/spark/blob/master/examples/src/main/java/org/apache/spark/examples/ml/JavaTokenizerExample.java#L40
 

but what is 
$example on:untyped_ops$

The imports are there. But seems this is broken. Then this is probably a 
parsing issue?

> Tokenizer example does not compile without extra imports
> --------------------------------------------------------
>
>                 Key: SPARK-19444
>                 URL: https://issues.apache.org/jira/browse/SPARK-19444
>             Project: Spark
>          Issue Type: Documentation
>          Components: Documentation
>    Affects Versions: 2.1.0
>            Reporter: Aseem Bansal
>            Priority: Minor
>
> The example at http://spark.apache.org/docs/2.1.0/ml-features.html#tokenizer 
> does not compile without the following static import
> import static org.apache.spark.sql.functions.*;



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to