JSON类型查询问题

为了更快的定位您的问题,请提供以下信息,谢谢
【StarRocks版本】例如:2.3.9
【集群规模】例如:3fe(1 follower+2observer)+5be(fe与be混部)

db里存了一个 tags JSON数据类型字段,里面存了N条数据: {“http.status_code”: 200},发觉使用 :

where tags->'http.status_code'=200 

查不出结果,但使用 where tags = ‘{“http.status_code”: 200}’ 可以查出值。写入数据是flink JSONObject 使用 starrocks sink进入。

试试这样:
where tags->'"http.status_code"'=200 ,单引号里多加个双引号