FROM_BINARY (Lakehouse v2)
指定したバイナリ形式に基づいて、バイナリ値を VARCHAR 文字列に変換します。
Analyzeの構文
Section titled “Analyzeの構文”func.from_binary(<binary>, <format>)Analyzeの例
Section titled “Analyzeの例”func.from_binary(b'\x48\x65\x6c\x6c\x6f', 'utf8')
┌─────────┐│ 'Hello' │└─────────┘SQLの構文
Section titled “SQLの構文”FROM_BINARY(<binary>, <format>)SELECT FROM_BINARY(X'48656C6C6F', 'utf8');
┌───────┐│ Hello │└───────┘