mysql> select hex(hex_decode_binary(hex("Hello StarRocks")));
+------------------------------------------------+
| hex(hex_decode_binary(hex('Hello StarRocks'))) |
+------------------------------------------------+
| 48656C6C6F2053746172526F636B73 |
+------------------------------------------------+
mysql> select hex_decode_binary(NULL);
+--------------------------------------------------+
| hex_decode_binary(NULL) |
+--------------------------------------------------+
| NULL |
+--------------------------------------------------+