Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
rpad_impl in datafusion_functions::unicode::rpad - Rust
[go: Go Back, main page]

Function rpad_impl

Source
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,
Available on crate feature unicode_expressions only.
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’