SIGN (Lakehouse v2)
Renvoie le signe d’un nombre : -1, 0 ou 1.
Syntaxe Analyze
Section intitulée « Syntaxe Analyze »func.sign(<x>)Exemples Analyze
Section intitulée « Exemples Analyze »func.sign(-42)
┌────┐│ -1 │└────┘Syntaxe SQL
Section intitulée « Syntaxe SQL »SIGN(<x>)Exemples SQL
Section intitulée « Exemples SQL »SELECT SIGN(-42);
┌────┐│ -1 │└────┘