File tree Expand file tree Collapse file tree 2 files changed +10
-5
lines changed
qa/testFixtures/src/main/resources
src/main/java/org/elasticsearch/xpack/esql/action Expand file tree Collapse file tree 2 files changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ fork2 | 6.093784261960139E18 | 2 | all we have to decide is w
114114;
115115
116116forkWithEvals
117- required_capability: fork
117+ required_capability: fork_v2
118118
119119FROM employees
120120| FORK (WHERE emp_no == 10048 OR emp_no == 10081 | EVAL x = "abc" | EVAL y = 1)
@@ -131,7 +131,7 @@ fork2 | 10087 | def | null | 2
131131;
132132
133133forkWithStats
134- required_capability: fork
134+ required_capability: fork_v2
135135
136136FROM employees
137137| FORK (WHERE emp_no == 10048 OR emp_no == 10081)
@@ -152,7 +152,7 @@ fork4 | null | 100 | 10001 | null
152152;
153153
154154forkWithDissect
155- required_capability: fork
155+ required_capability: fork_v2
156156
157157FROM employees
158158| WHERE emp_no == 10048 OR emp_no == 10081
@@ -172,7 +172,7 @@ fork2 | 10081 | Rosen | 10081 | null | Zhongwei
172172;
173173
174174forkWithMixOfCommands
175- required_capability: fork
175+ required_capability: fork_v2
176176
177177FROM employees
178178| WHERE emp_no == 10048 OR emp_no == 10081
Original file line number Diff line number Diff line change @@ -964,7 +964,12 @@ public enum Cap {
964964 /**
965965 * Support max_over_time aggregation
966966 */
967- MAX_OVER_TIME (Build .current ().isSnapshot ());
967+ MAX_OVER_TIME (Build .current ().isSnapshot ()),
968+
969+ /**
970+ * Support STATS/EVAL/DISSECT in Fork branches
971+ */
972+ FORK_V2 (Build .current ().isSnapshot ());
968973
969974 private final boolean enabled ;
970975
You can’t perform that action at this time.
0 commit comments