How to query on json data ?
hello,
I was loaded json data into flex table
when i fetched days,it shows like this
how to in query on data array ??
ex: select maptostring(days=4) from testing_view ;
ERROR 4286: Operator does not exist: long varbinary = int
HINT: No operator matches the given name and argument type(s). You may need to add explicit type casts
How to query on this please provide a solution
Thanks in advance
0
Best Answer
-
I got the solution
select id from testing where mapcontainsvalue(__raw__['days'],'2')='t' ;
this will give u exact id's which 2 value contains
0
Answers
plz provide solution i need that query #Jim_Knicely
Maybe the MAPITEMS function can help?