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

Tracking: array functions & operators #7117

Open
18 of 22 tasks
lmatz opened this issue Dec 29, 2022 · 8 comments
Open
18 of 22 tasks

Tracking: array functions & operators #7117

lmatz opened this issue Dec 29, 2022 · 8 comments
Labels
component/common Common components, such as array, data chunk, expression. good first issue Good for newcomers help wanted Issues that need help from contributors type/feature

Comments

@lmatz
Copy link
Contributor

lmatz commented Dec 29, 2022

https://www.postgresql.org/docs/current/functions-array.html

A significant difference between PostgreSQL array and RisingWave array/list is that the former requires multi-dimensional ones to be rectangular (like in C), while the latter allows jagged ones (like vector or list). See #3811 (comment)

proto ExprType 531..=559

Array Access

Array Dimensions

Array consumption

Array Construction and Mutation

ScalarArrayOp

Aggregation

Set Returning Function

@fuyufjh
Copy link
Member

fuyufjh commented Dec 29, 2022

cc. @xiangjinwu is also working on struct & array recently

@fuyufjh fuyufjh added this to the release-0.1.16 milestone Dec 29, 2022
@lmatz lmatz added component/common Common components, such as array, data chunk, expression. help wanted Issues that need help from contributors user-facing-changes Contains changes that are visible to users good first issue Good for newcomers and removed user-facing-changes Contains changes that are visible to users labels Dec 30, 2022
@lmatz lmatz removed this from the release-0.1.17 milestone Feb 6, 2023
@kamalesh0406
Copy link
Contributor

Hi @fuyufjh @lmatz , have all these array operations been implemented? I can contribute the functions if no one is looking into them. Thanks!

@lmatz
Copy link
Contributor Author

lmatz commented Mar 15, 2023

Hi @fuyufjh @lmatz , have all these array operations been implemented? I can contribute the functions if no one is looking into them. Thanks!

Hi @kamalesh0406, sure, thank you! Feel free to work on the ones that you are interested in.

Please be cautious about (see also #3811)

A significant difference between PostgreSQL array and RisingWave array/list is that the former requires multi-dimensional ones to be rectangular (like in C), while the latter allows jagged ones (like vector or list).`

@kamalesh0406
Copy link
Contributor

Sure :), I will start with array_length since it seems trivial.

@kamalesh0406
Copy link
Contributor

I am working on adding array_remove in a separate PR. Just mentioning it so that there is no duplicate effort :) .

@BanBuDu0
Copy link
Contributor

BanBuDu0 commented Apr 13, 2023

Hi all, may I take array_dims function?
I think this function is currently not assigned.

@lmatz
Copy link
Contributor Author

lmatz commented Apr 13, 2023

Hi all, may I take array_dims function?

I think this function is currently not assigned.

Sure, thanks for your interests!

@kevinmingtarja
Copy link

Hi, I'd like to take array_fill! Mentioning it here so that there is no duplicate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/common Common components, such as array, data chunk, expression. good first issue Good for newcomers help wanted Issues that need help from contributors type/feature
Projects
None yet
Development

No branches or pull requests

7 participants