-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Support for UNION
, INTERSECT
& EXCEPT
in SQLContext
#8917
Comments
UNION
, INTERSECT
& EXCEPT
UNION
, INTERSECT
& EXCEPT
in SQLContext
|
Is it possible for UNION to concatenate with the |
@xdev-x I thought df1 = pl.DataFrame({"a": [1, 2, 3], "b": [4, 5, 6]})
df2 = pl.DataFrame({"c": [4, 5, 6, 7]})
pl.SQLContext(frames={"df1": df1, "df2": df2}).execute("""
select * from df1 union by name select * from df2
""").collect()
# ShapeError: unable to append to a dataframe of width 2 with a dataframe of width 1 |
It will be in the upcoming |
FYI: this was closed by #16960 👌 |
Problem description
I wish Polars SQL could support combination of results from multiple queries using set operations.
Relates to #8743.
References:
The text was updated successfully, but these errors were encountered: