我有一个包含 \s\ 关键字的字符串。现在,我想用 NULL 替换它。
select string,REGEXP_REPLACE(string,'\\\s\\','') from test
但无法用spark sql中的上述语句替换
输入:\s\help 输出:帮助
想要使用 regexp_replace
sql apache-spark-sql regexp-replace
apache-spark-sql ×1
regexp-replace ×1
sql ×1