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

Function to create arrays from several fields #1191

Open
alexfacciorusso opened this issue Dec 23, 2024 · 0 comments
Open

Function to create arrays from several fields #1191

alexfacciorusso opened this issue Dec 23, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@alexfacciorusso
Copy link

Is your feature request related to a problem? Please describe.

It is frustrating using concatenate to get fields and joining them together. There is already a join function, but there is no function to create an array (or at least, it is not documented or not easily explorable?).

Describe the solution you'd like

It would be nice doing something like

array_join( [{Name}, {Surname}, {Age}, {Something Else}], " ")

so that many fields can be concatenated with a same divider. The current alternative would be:

concatenate({Name}, " ", {Surname}, " ", {Age}, " ", {Something Else})

not only that, but it would help with almost impossible (or very complicated) situations like empty and null items (using ARRAY_COMPACT) and other similar ones.

@tea-artist tea-artist added the enhancement New feature or request label Dec 24, 2024
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

No branches or pull requests

2 participants