You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (JIRA)" <ji...@apache.org> on 2017/09/25 00:19:00 UTC

[jira] [Updated] (SPARK-22107) "as" should be "alias" in python quick start documentation

     [ https://issues.apache.org/jira/browse/SPARK-22107?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hyukjin Kwon updated SPARK-22107:
---------------------------------
    Fix Version/s: 2.3.0
                   2.2.1

> "as" should be "alias" in python quick start documentation
> ----------------------------------------------------------
>
>                 Key: SPARK-22107
>                 URL: https://issues.apache.org/jira/browse/SPARK-22107
>             Project: Spark
>          Issue Type: Bug
>          Components: Documentation
>    Affects Versions: 2.2.0
>            Reporter: John O'Leary
>            Priority: Trivial
>             Fix For: 2.2.1, 2.3.0
>
>
> One piece of example python code in quick-start.md reads
> {code}>>> wordCounts = textFile.select(explode(split(textFile.value, "\s+")).as("word")).groupBy("word").count(){code}
> This does not execute and presumably should be {code}alias("word"){code} instead: https://spark.apache.org/docs/latest/api/python/pyspark.sql.html#pyspark.sql.functions.explode



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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