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:01:05 UTC

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

Diana Carroll created SPARK-7607:
------------------------------------

             Summary: 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