Skip to content

Commit 2416c63

Browse files
authored
add missing capabilities checks (#117072)
This should fix a couple of tests failures due to incorrect capabilities checks. I already added them manually to 8.x to resolve a failure there (see #116602) so this doesn't need to be backported.
1 parent f9c5bc0 commit 2416c63

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -734,6 +734,8 @@ count:long | @timestamp:date
734734
Multi Index millis to nanos stats
735735
required_capability: union_types
736736
required_capability: union_types_remove_fields
737+
required_capability: to_date_nanos
738+
required_capability: date_trunc_date_nanos
737739

738740
FROM sample_data, sample_data_ts_nanos
739741
| EVAL @timestamp = DATE_TRUNC(1 hour, TO_DATE_NANOS(@timestamp))

0 commit comments

Comments
 (0)