Skip to content

Commit b6ba4fe

Browse files
committed
try capability rename
1 parent eec0314 commit b6ba4fe

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

x-pack/plugin/esql/qa/testFixtures/src/main/resources/k8s-timeseries.csv-spec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -723,7 +723,7 @@ mx:integer | tbucket:datetime
723723

724724
derivative_of_gauge_metric
725725
required_capability: ts_command_v0
726-
required_capability: ts_linreg
726+
required_capability: TS_LINREG_DERIVATIVE
727727

728728
TS k8s
729729
| WHERE pod == "three"
@@ -745,7 +745,7 @@ max_deriv:double | time_bucket:datetime | pod:keyword
745745

746746
derivative_compared_to_rate
747747
required_capability: ts_command_v0
748-
required_capability: ts_linreg
748+
required_capability: TS_LINREG_DERIVATIVE
749749

750750
TS k8s
751751
| STATS max_deriv = max(deriv(to_long(network.total_bytes_in))), max_rate = max(rate(network.total_bytes_in)) BY time_bucket = bucket(@timestamp,5minute), cluster

x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/action/EsqlCapabilities.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1477,7 +1477,7 @@ public enum Cap {
14771477
*/
14781478
PERCENTILE_OVER_TIME,
14791479
VARIANCE_STDDEV_OVER_TIME,
1480-
TS_LINREG,
1480+
TS_LINREG_DERIVATIVE,
14811481
/**
14821482
* INLINE STATS fix incorrect prunning of null filtering
14831483
* https://github.com/elastic/elasticsearch/pull/135011

0 commit comments

Comments
 (0)