v.25.6New Feature
Add bech32Encode and bech32Decode
Addedbech32Encodeandbech32Decodefunctions for working with Bitcoin's Bech algorithm (issue #40381). #80239 (George Larionov).
Why it matters
These new functions enable users to work directly with the Bech32 encoding used in Bitcoin addresses, facilitating data processing and integration involving Bitcoin Bech32 strings within ClickHouse queries.How to use it
Use thebech32Encode function to encode data into Bech32 format and bech32Decode to decode Bech32 strings back to their original binary representation in your SQL queries.