fstolba opened a new issue #9346: string_to_array ordering URL: https://github.com/apache/druid/issues/9346 ### Affected Version 0.17 ### Description When using the function `string_to_array` on ingest the ordering of the resulting arrays seems random. I would expect the array elements to keep the order they had in the constituting string. Is this to be expected / by design? ### Example: ``` Function Call Result string_to_array("A_B_C", "_") ["C", "B", "A"] string_to_array("D_E_F", "_") ["E", "D", "F"] string_to_array("A_B", "_") ["A", "B"] string_to_array("A_B_B_C", "_") ["A", "C", "B", "B"] ``` ### Desired result: ``` Function Call Result string_to_array("A_B_C", "_") ["A", "B", "C"] string_to_array("D_E_F", "_") ["D", "E", "F"] string_to_array("A_B", "_") ["A", "B"] string_to_array("A_B_B_C", "_") ["A", "B", "B", "C"] ```
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
