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

[EPIC] Add support for all array expressions #1042

Open
8 of 21 tasks
Tracked by #1043
andygrove opened this issue Oct 30, 2024 · 6 comments
Open
8 of 21 tasks
Tracked by #1043

[EPIC] Add support for all array expressions #1042

andygrove opened this issue Oct 30, 2024 · 6 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@andygrove
Copy link
Member

andygrove commented Oct 30, 2024

What is the problem the feature request solves?

We would like to support all array operations natively in Comet.

Describe the potential solution

No response

Additional context

No response

@SemyonSinchenko
Copy link
Member

I would like to work on array_zip

@dharanad
Copy link
Contributor

dharanad commented Dec 4, 2024

I would like to work on array_contains followed up by sort_array, array_position, array_max, array_min, array_zip, array_union

@jatin510
Copy link
Contributor

jatin510 commented Dec 5, 2024

I would like to work on array_remove followed up by array_repeat and array_size.
@andygrove

@jatin510
Copy link
Contributor

@andygrove

 select array(1, 2, 3) ;
24/12/19 00:13:47 WARN CometSparkSessionExtensions$CometExecRule: Comet cannot execute some parts of this plan natively (set spark.comet.explainFallback.enabled=false to disable this logging):
 Project [COMET: Project is not native because the following children are not native (Scan OneRowRelation)]
+-  Scan OneRowRelation [COMET: Scan OneRowRelation is not supported]

[1,2,3]

is array function not supported in comet yet ?
it is marked as done above ?

@dharanad
Copy link
Contributor

dharanad commented Dec 18, 2024

@andygrove

 select array(1, 2, 3) ;
24/12/19 00:13:47 WARN CometSparkSessionExtensions$CometExecRule: Comet cannot execute some parts of this plan natively (set spark.comet.explainFallback.enabled=false to disable this logging):
 Project [COMET: Project is not native because the following children are not native (Scan OneRowRelation)]
+-  Scan OneRowRelation [COMET: Scan OneRowRelation is not supported]

[1,2,3]

is array function not supported in comet yet ? it is marked as done above ?

To answer you question, Yes array is support by Comet. But if you can observe the error logs. Scan OneRowRelation is not supported by Comet yet. Since it is child of Project, it wasn't converted to ComerProject. Which is why vanilla Project operator is used instead of CometProject

@kazantsev-maksim
Copy link

I would like to work on array_except followed up by array_compact.
@andygrove

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

6 participants