提交 5c72ef6b 编写于 作者: wmmhello's avatar wmmhello

modify test raw sql

上级 0a2201a9
......@@ -79,9 +79,9 @@ select * from jsons1 where jtag->'tag1' is null
select * from jsons1 where jtag->'tag4' is null
select * from jsons1 where jtag->'tag3' is not null
select * from jsons1 where jtag?'tag1'
select * from jsons1 where jtag?'tag3'
select * from jsons1 where jtag?'tag_no_exist'
select * from jsons1 where jtag conatins 'tag1'
select * from jsons1 where jtag conatins 'tag3'
select * from jsons1 where jtag conatins 'tag_no_exist'
select * from jsons1 where jtag->'tag1'=false and jtag->'tag2'='beijing'
select * from jsons1 where jtag->'tag1'=false or jtag->'tag2'='beijing'
......@@ -89,12 +89,12 @@ select * from jsons1 where jtag->'tag1'=false and jtag->'tag2'='shanghai'
select * from jsons1 where jtag->'tag1'=false and jtag->'tag2'='shanghai'
select * from jsons1 where jtag->'tag1'=13 or jtag->'tag2'>35
select * from jsons1 where jtag->'tag1'=13 or jtag->'tag2'>35
select * from jsons1 where jtag->'tag1' is not null and jtag?'tag3'
select * from jsons1 where jtag->'tag1'='femail' and jtag?'tag3'
select * from jsons1 where jtag->'tag1' is not null and jtag conatins 'tag3'
select * from jsons1 where jtag->'tag1'='femail' and jtag conatins 'tag3'
select * from jsons1 where tbname = 'jsons1_1'
select * from jsons1 where tbname = 'jsons1_1' and jtag?'tag3'
select * from jsons1 where tbname = 'jsons1_1' and jtag?'tag3' and dataint=3
select * from jsons1 where tbname = 'jsons1_1' and jtag?'tag3' and dataint=23
select * from jsons1 where tbname = 'jsons1_1' and jtag conatins 'tag3'
select * from jsons1 where tbname = 'jsons1_1' and jtag conatins 'tag3' and dataint=3
select * from jsons1 where tbname = 'jsons1_1' and jtag conatins 'tag3' and dataint=23
select *,tbname from jsons1 where jtag->'tag2' like 'bei%'
select *,tbname from jsons1 where jtag->'tag1' like 'fe%' and jtag->'tag2' is not null
......@@ -134,4 +134,4 @@ select * from (select jtag, dataint from jsons1)
select jtag->'tag1' from (select jtag->'tag1', dataint from jsons1)
select ts,tbname,jtag->'tag1' from (select jtag->'tag1',tbname,ts from jsons1 order by ts)
\ No newline at end of file
select ts,tbname,jtag->'tag1' from (select jtag->'tag1',tbname,ts from jsons1 order by ts)
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册