You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Diana Carroll (JIRA)" <ji...@apache.org> on 2015/05/13 19:41:00 UTC
[jira] [Closed] (SPARK-7607) Spark SQL prog guide code error
[ https://issues.apache.org/jira/browse/SPARK-7607?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Diana Carroll closed SPARK-7607.
--------------------------------
Resolution: Duplicate
Woops, duplicate of SPARK-6383 (already fixed)
> 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