mirror of
https://github.com/apache/doris.git
synced 2026-11-04 18:29:59 +00:00
### What problem does this PR solve? Problem Summary: doc: https://github.com/apache/doris-website/pull/2897 ``` mysql> desc mysql_jdbc_catalog_nereids.test_varbinary_db.test_varbinary; +-------------+----------------+------+------+---------+-------+ | Field | Type | Null | Key | Default | Extra | +-------------+----------------+------+------+---------+-------+ | id | int | Yes | true | NULL | | | varbinary_c | varbinary(100) | Yes | true | NULL | | +-------------+----------------+------+------+---------+-------+ 2 rows in set (0.00 sec) mysql> select *,binary_udf(varbinary_c) from mysql_jdbc_catalog_nereids.test_varbinary_db.test_varbinary; +------+----------------------------+--------------------------------------------------+ | id | varbinary_c | binary_udf(varbinary_c) | +------+----------------------------+--------------------------------------------------+ | 1 | 0x48656C6C6F20576F726C64 | 0x48656C6C6F20576F726C64 | | 2 | 0x48656C6C6F20576F726C6421 | 0x48656C6C6F20576F726C6421 | | 3 | 0x48656C6C6F20576F726C6421 | 0x48656C6C6F20576F726C6421 | | 4 | NULL | NULL | | 5 | 0xAB | 0xAB | +------+----------------------------+--------------------------------------------------+ 5 rows in set (0.13 sec) ```