Chris Fregly created SPARK-7178:
-----------------------------------

             Summary: Improve DataFrame documentation to include common uses 
like AND and OR semantics within filters, etc
                 Key: SPARK-7178
                 URL: https://issues.apache.org/jira/browse/SPARK-7178
             Project: Spark
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 1.3.1
            Reporter: Chris Fregly


AND and OR are not straightforward when using the new DataFrame API.

the current convention - accepted by Pandas users - is to use the bitwise & and 
| instead of AND and OR.  when using these, however, you need to wrap each 
expression in parenthesis to prevent the bitwise operator from dominating.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to