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 ARRAY_LENGTH UDF #4724

Closed
big-andy-coates opened this issue Mar 6, 2020 · 0 comments · Fixed by #4725
Closed

Add ARRAY_LENGTH UDF #4724

big-andy-coates opened this issue Mar 6, 2020 · 0 comments · Fixed by #4725
Assignees
Labels
user-defined-functions Tickets about UDF, UDAF, UDTF
Milestone

Comments

@big-andy-coates
Copy link
Contributor

Add a UDF to return the length of an array.

@big-andy-coates big-andy-coates added the user-defined-functions Tickets about UDF, UDAF, UDTF label Mar 6, 2020
@big-andy-coates big-andy-coates added this to the 0.8.0 milestone Mar 6, 2020
@big-andy-coates big-andy-coates self-assigned this Mar 6, 2020
big-andy-coates added a commit to big-andy-coates/ksql that referenced this issue Mar 6, 2020
fixes: confluentinc#4724

`ARRAY_LENGTH` returns the length of any array passed to it, or `0` if null is passed.
big-andy-coates added a commit that referenced this issue Mar 9, 2020
* fix: add ARRAY_LENGTH UDF

fixes: #4724

`ARRAY_LENGTH` returns the length of any array passed to it, or `0` if null is passed.
big-andy-coates added a commit to big-andy-coates/ksql that referenced this issue Apr 21, 2020
* fix: add ARRAY_LENGTH UDF

fixes: confluentinc#4724

`ARRAY_LENGTH` returns the length of any array passed to it, or `0` if null is passed.

(cherry picked from commit 31a9d9d)
big-andy-coates added a commit that referenced this issue Apr 30, 2020
* feat: add ARRAY_LENGTH UDF (#4725)

fixes: #4724

`ARRAY_LENGTH` returns the length of any array passed to it, or `0` if null is passed.

(cherry picked from commit 31a9d9d)

* docs: scalar funcs update

Fix links in doc and improve docs around EXTRACTJSONFIELD

(cherry picked from commit 778570f)

* chore: switch array_length to return null on null (#4848)

(cherry picked from commit d464120)

Co-authored-by: Andy Coates <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
user-defined-functions Tickets about UDF, UDAF, UDTF
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant