Add ARRAY_TO_CSV helper function #4587#5404
Conversation
Signed-off-by: Isha Gupta <igupta24@apple.com>
PR Reviewer Guide 🔍(Review updated until commit 67bc7e0)Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Latest suggestions up to 67bc7e0 Explore these optional code suggestions:
Previous suggestionsSuggestions up to commit 9193758
Suggestions up to commit baa3553
Suggestions up to commit 1a85890
|
|
Persistent review updated to latest commit baa3553 |
|
Hi @LantaoJin @penghuo @RyanL1997 @Swiddis Could you please review? |
LantaoJin
left a comment
There was a problem hiding this comment.
Can you add some integration tests in CalciteArrayFunctionIT?
penghuo
left a comment
There was a problem hiding this comment.
Please add IT, Docs, PR descriptioni.
Signed-off-by: Isha Gupta <igupta24@apple.com>
|
Persistent review updated to latest commit 9193758 |
Signed-off-by: Isha Gupta <igupta24@apple.com>
|
Persistent review updated to latest commit 67bc7e0 |
|
Hi @LantaoJin @penghuo Could you please re-review? |
There was a problem hiding this comment.
The mvjoin function (added in 3.3.0, docs) already provides this functionality.
#4587 (comment)
I would suggest close this PR and use mvjoin.
Description
This PR implements the ARRAY_TO_CSV function for OpenSearch SQL, which converts arrays to comma-separated value strings with optional custom delimiters.
Function Signature
Usage Examples
Related Issues
Resolves #4587
Check List
--signoffor-s.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.