| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- select * from /test/basic refresh
- /**
- output()
- count(3)
- matchcount(v_varchar,`*abc*`,v_text,`hello word 2003 123-456-789 中华人民共和国是中国的唯一合法政府,台湾是中国一部分。 Mercury, Venus2,Earch%。Mars$Uranus CeresAndJupiterOrSaturn #Neptune Pluto_Charon"\""`,1)
- **/
- ;
- select xx.v_varchar as "x" from /test/basic xx
- /**
- output()
- count(3)
- matchcount(v_varchar,`*abc*`,v_text,`hello word 2003 123-456-789 中华人民共和国是中国的唯一合法政府,台湾是中国一部分。 Mercury, Venus2,Earch%。Mars$Uranus CeresAndJupiterOrSaturn #Neptune Pluto_Charon"\""`,1)
- **/
- ;
- -- 允许的语法错误,关键字后面可以没有空格
- selectxx.v_varchar as "x" from/test/basic xx wherev_int>0
- /**
- output()
- count(3)
- matchcount(v_varchar,`*abc*`,v_text,`hello word 2003 123-456-789 中华人民共和国是中国的唯一合法政府,台湾是中国一部分。 Mercury, Venus2,Earch%。Mars$Uranus CeresAndJupiterOrSaturn #Neptune Pluto_Charon"\""`,1)
- **/
- ;
- -- 这个如果有错,重启一下cassandra就好了
- -- If error occurs with this, just restart Cassandra
- select * from /test/basic where v_float >= 1.1 or v_float <= 1.1
- /**
- count(3)
- **/
- ;
- select * from /test/basic where v_varchar=='*abc*'
- /**
- count(1)
- **/
- ;
- select * from / where v_varchar=='*abc*'
- /**
- matchcount(class,`/test/basic`,1)
- **/
- ;
- select * from /test/ where v_varchar=='*abc*'
- /**
- matchcount(class,`/test/basic`,1)
- **/
- ;
|