REPLACE (Lakehouse v2)
Remplace toutes les occurrences d’une sous-chaîne par une autre sous-chaîne.
Syntaxe Analyze
Section intitulée « Syntaxe Analyze »func.replace(<str>, <old>, <new>)Exemples Analyze
Section intitulée « Exemples Analyze »func.replace('hello world', 'world', 'there')
┌───────────────┐│ 'hello there' │└───────────────┘Syntaxe SQL
Section intitulée « Syntaxe SQL »REPLACE(<str>, <old>, <new>)Exemples SQL
Section intitulée « Exemples SQL »SELECT REPLACE('hello world', 'world', 'there');
┌─────────────┐│ hello there │└─────────────┘