datafusion_functions_nested

Module string

Source
Expand description

ScalarUDFImpl definitions for array_to_string and string_to_array functions.

Functions§

  • converts each element to its text representation.
  • ScalarFunction that returns a ScalarUDF for ArrayToString
  • splits a string based on a delimiter and returns an array of parts. Any parts matching the optional null_string will be replaced with NULL
  • String_to_array SQL function Splits string at occurrences of delimiter and returns an array of parts string_to_array(‘abc~@def@ghi’, ‘@~’) = ‘[“abc”, “def”, “ghi”]’
  • ScalarFunction that returns a ScalarUDF for StringToArray