|
@@ -9,7 +9,7 @@
|
|
|
// because the CSV tests don't support such assertions.
|
|
|
|
|
|
row
|
|
|
-required_capability: sample
|
|
|
+required_capability: sample_v2
|
|
|
|
|
|
ROW x = 1 | SAMPLE .999999999
|
|
|
;
|
|
@@ -20,7 +20,7 @@ x:integer
|
|
|
|
|
|
|
|
|
row and mv_expand
|
|
|
-required_capability: sample
|
|
|
+required_capability: sample_v2
|
|
|
|
|
|
ROW x = [1,2,3,4,5] | MV_EXPAND x | SAMPLE .999999999
|
|
|
;
|
|
@@ -35,7 +35,7 @@ x:integer
|
|
|
|
|
|
|
|
|
adjust stats for sampling
|
|
|
-required_capability: sample
|
|
|
+required_capability: sample_v2
|
|
|
|
|
|
FROM employees
|
|
|
| SAMPLE 0.5
|
|
@@ -53,7 +53,7 @@ true
|
|
|
|
|
|
|
|
|
before where
|
|
|
-required_capability: sample
|
|
|
+required_capability: sample_v2
|
|
|
|
|
|
FROM employees
|
|
|
| SAMPLE 0.5
|
|
@@ -71,7 +71,7 @@ true
|
|
|
|
|
|
|
|
|
after where
|
|
|
-required_capability: sample
|
|
|
+required_capability: sample_v2
|
|
|
|
|
|
FROM employees
|
|
|
| WHERE emp_no <= 10050
|
|
@@ -89,7 +89,7 @@ true
|
|
|
|
|
|
|
|
|
before sort
|
|
|
-required_capability: sample
|
|
|
+required_capability: sample_v2
|
|
|
|
|
|
FROM employees
|
|
|
| SAMPLE 0.5
|
|
@@ -107,7 +107,7 @@ true
|
|
|
|
|
|
|
|
|
after sort
|
|
|
-required_capability: sample
|
|
|
+required_capability: sample_v2
|
|
|
|
|
|
FROM employees
|
|
|
| SORT emp_no
|
|
@@ -125,7 +125,7 @@ true
|
|
|
|
|
|
|
|
|
before limit
|
|
|
-required_capability: sample
|
|
|
+required_capability: sample_v2
|
|
|
|
|
|
FROM employees
|
|
|
| SAMPLE 0.5
|
|
@@ -141,7 +141,7 @@ true
|
|
|
|
|
|
|
|
|
after limit
|
|
|
-required_capability: sample
|
|
|
+required_capability: sample_v2
|
|
|
|
|
|
FROM employees
|
|
|
| LIMIT 50
|
|
@@ -158,7 +158,7 @@ true
|
|
|
|
|
|
|
|
|
before mv_expand
|
|
|
-required_capability: sample
|
|
|
+required_capability: sample_v2
|
|
|
|
|
|
ROW x = [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50], y = [1,2]
|
|
|
| MV_EXPAND x
|
|
@@ -176,7 +176,7 @@ true
|
|
|
|
|
|
|
|
|
after mv_expand
|
|
|
-required_capability: sample
|
|
|
+required_capability: sample_v2
|
|
|
|
|
|
ROW x = [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50], y = [1,2]
|
|
|
| MV_EXPAND x
|
|
@@ -194,7 +194,7 @@ true
|
|
|
|
|
|
|
|
|
multiple samples
|
|
|
-required_capability: sample
|
|
|
+required_capability: sample_v2
|
|
|
|
|
|
FROM employees
|
|
|
| SAMPLE 0.7
|
|
@@ -213,7 +213,7 @@ true
|
|
|
|
|
|
|
|
|
after stats
|
|
|
-required_capability: sample
|
|
|
+required_capability: sample_v2
|
|
|
|
|
|
FROM employees
|
|
|
| SAMPLE 0.5
|