15.valid.mql 748 B

12345678910111213141516171819202122232425262728293031323334
  1. select * from /test/测试 refresh
  2. /**
  3. output()
  4. count(3)
  5. matchcount(字符串,`*abc*`,文本,`hello word 2003 123-456-789 中华人民共和国是中国的唯一合法政府,台湾是中国一部分。 Mercury, Venus2,Earch%。Mars$Uranus CeresAndJupiterOrSaturn #Neptune Pluto_Charon"\""`,1)
  6. **/
  7. ;
  8. -- 这个如果有错,重启一下cassandra就好了
  9. -- If error occurs with this, just restart Cassandra
  10. select * from /test/测试 where 浮点 >= 1.1 or 浮点 <= 1.1
  11. /**
  12. count(3)
  13. **/
  14. ;
  15. select * from /test/测试 where 字符串=='*abc*'
  16. /**
  17. count(1)
  18. **/
  19. ;
  20. select * from / where 字符串=='*abc*'
  21. /**
  22. matchcount(class,`/test/测试`,1)
  23. **/
  24. ;
  25. select * from /test/ where 字符串=='*abc*'
  26. /**
  27. matchcount(class,`/test/测试`,1)
  28. **/
  29. ;