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

Implement array_except function #6979

Closed
izveigor opened this issue Jul 15, 2023 · 1 comment · Fixed by #8135
Closed

Implement array_except function #6979

izveigor opened this issue Jul 15, 2023 · 1 comment · Fixed by #8135
Labels
enhancement New feature or request

Comments

@izveigor
Copy link
Contributor

Is your feature request related to a problem or challenge?

Summary

Characteristic Description
Function name: array_except
Aliases: list_except
Original function?: No
Function Description: Azure DataBricks: Returns an array of the elements in array1 but not in array2.
Spark SQL: Returns all elements from col1 array but not in col2 array.
Sources: Concept Azure Spark

Examples:

select array_except([1, 2, 3, 4], [2, 3, 1, 5]);
----
[4, 5]
select array_except([1, 2, 2, 3, 4], [1, 3, 1, 5]);
----
[2, 4]

Describe the solution you'd like

No response

Describe alternatives you've considered

No response

Additional context

No response

@jayzhan211
Copy link
Contributor

Plan to work on this

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

Successfully merging a pull request may close this issue.

2 participants