[
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: [email protected]
For additional commands, e-mail: [email protected]