在hive 中进行字符串转义的时候 是用 \ 但是在presto 中是不行的
是把 一个单引号 修改成 两个双引号
select count(*) as count
from uploads
where title not in ('Driver''s License')
json解析函数:
json_extract_scalar
select json_extract_scalar('{"user_name":"梦恋蝶衣"}', '$.user_name') as "用户名"
在hive 中进行字符串转义的时候 是用 \ 但是在presto 中是不行的
是把 一个单引号 修改成 两个双引号
select count(*) as count
from uploads
where title not in ('Driver''s License')
json解析函数:
json_extract_scalar
select json_extract_scalar('{"user_name":"梦恋蝶衣"}', '$.user_name') as "用户名"