REPLACE (Lakehouse v2)
문자열에서 일치하는 모든 부분 문자열을 다른 부분 문자열로 바꿉니다.
Analyze 구문
섹션 제목: “Analyze 구문”func.replace(<str>, <old>, <new>)Analyze 예제
섹션 제목: “Analyze 예제”func.replace('hello world', 'world', 'there')
┌───────────────┐│ 'hello there' │└───────────────┘SQL 구문
섹션 제목: “SQL 구문”REPLACE(<str>, <old>, <new>)SQL 예제
섹션 제목: “SQL 예제”SELECT REPLACE('hello world', 'world', 'there');
┌─────────────┐│ hello there │└─────────────┘