v.24.10Improvement

Functions base58Encode and base58Decode Now Support FixedString Arguments

Functions base58Encode and base58Decode now accept arguments of type FixedString. Example: SELECT base58Encode(toFixedString('plaintext', 9));. #70846 (Faizan Patel).
Functions base58Encode and base58Decode now support FixedString type arguments.

Why it matters

This feature enables users to directly encode and decode data stored as FixedString without needing to convert it to other string types first, simplifying workflows that deal with fixed-length binary data and improving efficiency.

How to use it

You can use base58Encode and base58Decode with FixedString columns or values directly. For example:

SELECT base58Encode(toFixedString('plaintext', 9));