TO_BINARY (Lakehouse v2)
Convertit une chaîne VARCHAR en valeur binaire selon le format binaire indiqué.
Syntaxe Analyze
Section intitulée « Syntaxe Analyze »func.to_binary(<str>, <format>)Exemples Analyze
Section intitulée « Exemples Analyze »func.to_binary('Hello', 'utf8')
┌──────────┐│ b'Hello' │└──────────┘Syntaxe SQL
Section intitulée « Syntaxe SQL »TO_BINARY(<str>, <format>)Exemples SQL
Section intitulée « Exemples SQL »SELECT TO_BINARY('Hello', 'utf8');
┌────────────┐│ 48656C6C6F │└────────────┘