|
|
@@ -7,6 +7,23 @@ matchcount(v_varchar,`*abc*`,v_text,`hello word 2003 123-456-789 中华人民共
|
|
|
**/
|
|
|
;
|
|
|
|
|
|
+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
|