Function datafusion_functions::string::overlay::overlay
source · pub fn overlay<T: OffsetSizeTrait>(args: &[ArrayRef]) -> Result<ArrayRef>
Expand description
OVERLAY(string1 PLACING string2 FROM integer FOR integer2) Replaces a substring of string1 with string2 starting at the integer bit pgsql overlay(‘Txxxxas’ placing ‘hom’ from 2 for 4) → Thomas overlay(‘Txxxxas’ placing ‘hom’ from 2) -> Thomxas, without for option, str2’s len is instead