Module datafusion::functions_array::expr_fn
source · Expand description
Fluent-style API for creating Expr
s
Functions§
- appends an element to the end of an array.
- Concatenates arrays.
- returns an array of the array’s dimensions.
- returns distinct values from the array after removing duplicates.
- extracts the element with the index n from the array.
- returns true for an empty array or false for a non-empty array.
- returns an array of the elements that appear in the first array but not in the second.
- returns true, if the element appears in the first array, otherwise false.
- returns true if each element of the second array appears in the first array; otherwise, it returns false.
- returns true if at least one element of the second array appears in the first array; otherwise, it returns false.
- returns an array of the elements in the intersection of array1 and array2.
- returns the length of the array dimension.
- returns the number of dimensions of the array.
- returns the array without the last element.
- returns the array without the first element.
- searches for an element in the array, returns first occurrence.
- searches for an element in the array, returns all occurrences.
- Prepends an element to the beginning of an array.
- removes the first element from the array equal to the given value.
- removes all elements from the array equal to the given value.
- removes the first
max
elements from the array equal to the given value. - returns an array containing element
count
times. - replaces the first occurrence of the specified element with another specified element.
- replaces all occurrences of the specified element with another specified element.
- replaces the first
max
occurrences of the specified element with another specified element. - returns an array with the specified size filled with the given value.
- reverses the order of elements in the array.
- returns a slice of the array.
- returns sorted array.
- converts each element to its text representation.
- returns an array of the elements in the union of array1 and array2 without duplicates.
- returns the total number of elements in the array.
- flattens an array of arrays into a single array.
- create a list of values in the range between start and stop, include upper bound
- Returns an Arrow array using the specified input expressions.
- create a list of values in the range between start and stop
- splits a
string
based on adelimiter
and returns an array of parts. Any parts matching the optionalnull_string
will be replaced withNULL