spark函数asciiOn this pageascii ascii介绍 ascii(str) - 返回字符串 str 中第一个字符的ascii。 Examples: > SELECT ascii('222'); 50> SELECT ascii(2); 50 Since: 1.5.0