You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean Owen (JIRA)" <ji...@apache.org> on 2015/05/13 19:08:00 UTC

[jira] [Commented] (SPARK-7607) Spark SQL prog guide code error

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

Sean Owen commented on SPARK-7607:
----------------------------------

Looks like a good catch, feel free to open a PR.

> Spark SQL prog guide code error
> -------------------------------
>
>                 Key: SPARK-7607
>                 URL: https://issues.apache.org/jira/browse/SPARK-7607
>             Project: Spark
>          Issue Type: Bug
>          Components: Documentation
>    Affects Versions: 1.3.1
>            Reporter: Diana Carroll
>            Priority: Minor
>
> In the DataFrame Operations section, there's a bug in the "filter" example for all three languages.
> The comments say we want to filter for people over age 21, but the code is
> {code}
> df.filter(df("name") > 21).show()
> {code}
> It's filtering for people whose NAME is over 21.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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