REPLACE(Lakehouse v2)
部分文字列に一致するすべての箇所を、別の部分文字列に置換します。
Analyze 構文
Section titled “Analyze 構文”func.replace(<str>, <old>, <new>)Analyze の例
Section titled “Analyze の例”func.replace('hello world', 'world', 'there')
┌───────────────┐│ 'hello there' │└───────────────┘SQL 構文
Section titled “SQL 構文”REPLACE(<str>, <old>, <new>)SQL の例
Section titled “SQL の例”SELECT REPLACE('hello world', 'world', 'there');
┌─────────────┐│ hello there │└─────────────┘