LEFT (Lakehouse v2)
Renvoie les N premiers caractères d’une chaîne, en partant de la gauche.
Syntaxe Analyze
Section intitulée « Syntaxe Analyze »func.left(<str>, <len>)Exemples Analyze
Section intitulée « Exemples Analyze »func.left('StarRocks', 4)
┌────────┐│ 'Star' │└────────┘Syntaxe SQL
Section intitulée « Syntaxe SQL »LEFT(<str>, <len>)Exemples SQL
Section intitulée « Exemples SQL »SELECT LEFT('StarRocks', 4);
┌──────┐│ Star │└──────┘