[ https://issues.apache.org/jira/browse/PHOENIX-2021?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14593361#comment-14593361 ]
ramkrishna.s.vasudevan commented on PHOENIX-2021: ------------------------------------------------- Okie, viewing the patch with the CHROME extension for viewing .patch files I felt so. [~giacomotaylor] You have some feedback on the patch. Pls note that the ArrayPrepend and ArrayAppend function code has been refactored for all the pre checks and evaluate methods. For now only these three ARRAY functions are modifiying the existing ARRAYs. The upcoming functionalities are not going to modify the array whereas it is only going to use the array to produce some new outputs. {code} ARRAY_FILL(element, length) - Returns an array initialized with supplied value and length. ARRAY_TO_STRING(anyarray, text [, text]) - Concatenates array elements using supplied delimiter and optional null string and returns the resulting string STRING_TO_ARRAY(text, text [, text]) - Splits string into array elements using supplied delimiter and optional null string and returns the resulting varchar array. UNNEST(anyarray) - Expands an array to a set of rows. {code} > Implement ARRAY_CAT built in function > ------------------------------------- > > Key: PHOENIX-2021 > URL: https://issues.apache.org/jira/browse/PHOENIX-2021 > Project: Phoenix > Issue Type: Sub-task > Reporter: Dumindu Buddhika > Assignee: Dumindu Buddhika > Attachments: PHOENIX-2021-v3.patch, PHOENIX-2021-v4.patch, > PHOENIX-2021.patch > > > Ex: > ARRAY_CAT(ARRAY[2, 3, 4], ARRAY[4, 5, 6]) = ARRAY[2,3,4,4,5,6] > ARRAY_CAT(ARRAY["a", "b"], ARRAY["c", "d"]) = ARRAY["a", "b", "c", "d"] -- This message was sent by Atlassian JIRA (v6.3.4#6332)