處理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