pub fn rpad_impl<'a, StringArrType, FillArrType, StringArrayLen>(
string_array: StringArrType,
length_array: &Int64Array,
fill_array: Option<FillArrType>,
) -> Result<ArrayRef>where
StringArrType: StringArrayType<'a>,
FillArrType: StringArrayType<'a>,
StringArrayLen: OffsetSizeTrait,
Expand description
Extends the string to length ‘length’ by appending the characters fill (a space by default). If the string is already longer than length then it is truncated. rpad(‘hi’, 5, ‘xy’) = ‘hixyx’