github.com/matrixorigin/matrixone@v1.2.0/test/distributed/cases/function/func_sha1.sql (about) 1 SELECT sha1('abc'); 2 SELECT sha('abc'); 3 4 SELECT sha1(''); 5 SELECT sha(''); 6 7 SELECT sha1(NULL); 8 SELECT sha(NULL); 9 10 -- sha1 11 select sha1('kfieli3453l5lj'); 12 select sha1(' '); 13 select sha1('中文'); 14 select sha1('0x45df'); 15 select sha1('#$%^&*()!++={}|\~'); 16 select sha1('flijeoijfoiejetjioejo349857789345789$%^&ljiofejiojaojfieoaio7934729749263589237592739284920983075jkncmnd,sfkjdsfsfflijeoijfoiejetjioejo349857789345789$%^&ljiofejiojaojfieoaio7934729749263589237592739284920983075jkncmnd,sfkjdsfsf'); 17 select sha1(concat('oewo#$%',' 2335325')); 18 select sha1(4336); 19 select sha1(2008-09-09); 20 select sha1('2008-09-09'); 21 select sha1(fsfsf); 22 -- sha 23 select sha('kfieli3453l5lj'); 24 select sha(' '); 25 select sha('中文'); 26 select sha('0x45df'); 27 select sha('#$%^&*()!++={}|\~'); 28 select sha('flijeoijfoiejetjioejo349857789345789$%^&ljiofejiojaojfieoaio7934729749263589237592739284920983075jkncmnd,sfkjdsfsfflijeoijfoiejetjioejo349857789345789$%^&ljiofejiojaojfieoaio7934729749263589237592739284920983075jkncmnd,sfkjdsfsf'); 29 select sha(4336); 30 select sha(concat('oewo#$%',' 2335325')); 31 select sha(2008-09-09); 32 select sha('2008-09-09'); 33 select sha(fsfsf);