Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add DataFrame union_distinct and fix documentation for distinct #2574

Merged
merged 2 commits into from
May 20, 2022

Conversation

andygrove
Copy link
Member

@andygrove andygrove commented May 18, 2022

Which issue does this PR close?

Part of #2573

Rationale for this change

  • The documentation for distinct was incorrect and referred to performing a distinct union

What changes are included in this PR?

  • Updated the documentation for distinct
  • Added union_distinct for improved UX so the user doesn't need to remember that they need to perform a union followed by a distinct to get the equivalent of the UNION SQL operator.
  • Add SQL planner test for UNION

Are there any user-facing changes?

Yes, New API and updated docs.

@github-actions github-actions bot added the datafusion Changes in the datafusion crate label May 18, 2022
@andygrove andygrove merged commit c3f1d72 into apache:master May 20, 2022
@andygrove andygrove deleted the dataframe-union-distinct branch May 20, 2022 08:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
datafusion Changes in the datafusion crate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants