-
Notifications
You must be signed in to change notification settings - Fork 915
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
strings::join_list_elements
options for empty list inputs (#8285)
This PR implements a new option for `strings::join_list_elements` on top of #8282. In particular, the new option is: ``` /** * @brief Setting for specifying what will be output from `join_list_elements` when an input list * is empty. */ enum class output_if_empty_list { EMPTY_STRING, ///< Empty list will result in empty string NULL_ELEMENT ///< Empty list will result in a null }; ``` This new option is necessary for implementing `concat_ws` in Spark, since the behavior of the output string is required to be different depending on the situation. Currently blocked from merging by #8282. Authors: - Nghia Truong (https://github.com/ttnghia) - David Wendt (https://github.com/davidwendt) Approvers: - Robert Maynard (https://github.com/robertmaynard) - Keith Kraus (https://github.com/kkraus14) - Mike Wilson (https://github.com/hyperbolic2346) - David Wendt (https://github.com/davidwendt) - GALI PREM SAGAR (https://github.com/galipremsagar) - Ashwin Srinath (https://github.com/shwina) URL: #8285
- Loading branch information
Showing
7 changed files
with
212 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.