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