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

[FEA] Support function array_except #5222

Closed
viadea opened this issue Apr 12, 2022 · 1 comment
Closed

[FEA] Support function array_except #5222

viadea opened this issue Apr 12, 2022 · 1 comment
Assignees
Labels
cudf_dependency An issue or PR with this label depends on a new feature in cudf feature request New feature or request

Comments

@viadea
Copy link
Collaborator

viadea commented Apr 12, 2022

I wish we can support function array_except.

Eg:

from pyspark.sql.functions import *
df = spark.createDataFrame([(["a", "b", "a"], ["b", "c"]), (["a","a"], ["b", "c"]), (["aa"], ["b", "c"])    ], ['x', 'y'])
df.write.format("parquet").mode("overwrite").save("/tmp/testparquet")
df = spark.read.parquet("/tmp/testparquet")
df.select(array_except(df.x, df.y).alias("except")).collect()

Not-supported messages:

    ! <ArrayExcept> array_except(x#58, y#59) cannot run on GPU because GPU does not currently support the operator class org.apache.spark.sql.catalyst.expressions.ArrayExcept
@viadea viadea added feature request New feature or request ? - Needs Triage Need team to review and classify labels Apr 12, 2022
@revans2 revans2 added the cudf_dependency An issue or PR with this label depends on a new feature in cudf label Apr 14, 2022
@revans2
Copy link
Collaborator

revans2 commented Apr 14, 2022

I filed rapidsai/cudf#10409 as the CUDF dependency a while ago for the related work in #4932 that should cover this too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cudf_dependency An issue or PR with this label depends on a new feature in cudf feature request New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants