Github user gatorsmile commented on the pull request:

    https://github.com/apache/spark/pull/11106#issuecomment-181150882
  
    @marmbrus @rxin I want to get your opinions first before adding the 
corresponding Dataframe and Dataset APIs.
    
    Now, `unionall` is changed to `union`, whose default behavior is `UNION 
ALL`. The default behavior of `intersect` is `INTERSECT DISTINCT`. I think we 
are facing three options:
      - Add a new API named `intersectall`
      - Add an optional boolean parameter `distinct` into the existing 
`intersect` API, like the APIs `sample` and `repartition`
      - Do not add any API.
     
    Thank you!



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

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

Reply via email to