github.com/matrixorigin/matrixone@v1.2.0/test/distributed/cases/function/func_hex.test (about)

     1  #NULL
     2  SELECT hex(NULL);
     3  
     4  #Number
     5  SELECT hex(0);
     6  SELECT hex(9223372036854775807);
     7  SELECT hex(-255);
     8  
     9  #String
    10  SELECT hex("你好。");
    11  SELECT hex("おはようございます");
    12  SELECT hex("-255");
    13  SELECT hex(0x62);
    14  SELECT hex(b'1101100');