处理json字段,能够用json_extract函数:json
select * from (select json_extract(ext_value,'$.high')+0 highx,batch_id from batch_ext_1 where ext_type=19 ) a where a.highx>15000000000函数
将json字段中的String值转为数字型,能够用+0操做,好比上面语句中select
json_extract(ext_value,'$.high')+0 highx数字
最终会变成数字型。bat