@@ -445,6 +445,7 @@ count:long | message:keyword
445445
446446multiIndexMissingIpToString
447447required_capability: union_types
448+ required_capability: metadata_fields
448449required_capability: union_types_missing_field
449450
450451FROM sample_data, sample_data_str, missing_ip_sample_data METADATA _index
@@ -479,6 +480,7 @@ sample_data_str | 2023-10-23T12:15:03.360Z | 172.21.2.162 | 3450
479480
480481multiIndexMissingIpToIp
481482required_capability: union_types
483+ required_capability: metadata_fields
482484required_capability: union_types_missing_field
483485
484486FROM sample_data, sample_data_str, missing_ip_sample_data METADATA _index
@@ -1373,9 +1375,6 @@ client_ip:ip | event_duration:long | message:keyword | @timestamp:keywo
13731375# Once INLINESTATS supports expressions in agg functions and groups, convert the group in the inlinestats
13741376
13751377multiIndexIndirectUseOfUnionTypesInSort
1376- // TODO: `union_types` is required only because this makes the test skip in the csv tests; better solution:
1377- // make the csv tests work with multiple indices.
1378- required_capability: union_types
13791378FROM sample_data, sample_data_ts_long
13801379| SORT client_ip ASC
13811380| LIMIT 1
@@ -1386,8 +1385,6 @@ FROM sample_data, sample_data_ts_long
13861385;
13871386
13881387multiIndexIndirectUseOfUnionTypesInEval
1389- // TODO: `union_types` is required only because this makes the test skip in the csv tests; better solution:
1390- // make the csv tests work with multiple indices.
13911388required_capability: union_types
13921389FROM sample_data, sample_data_ts_long
13931390| EVAL foo = event_duration > 1232381
@@ -1400,9 +1397,6 @@ FROM sample_data, sample_data_ts_long
14001397;
14011398
14021399multiIndexIndirectUseOfUnionTypesInRename
1403- // TODO: `union_types` is required only because this makes the test skip in the csv tests; better solution:
1404- // make the csv tests work with multiple indices.
1405- required_capability: union_types
14061400required_capability: union_types_fix_rename_resolution
14071401FROM sample_data, sample_data_ts_long
14081402| RENAME message AS event_message
@@ -1415,9 +1409,6 @@ FROM sample_data, sample_data_ts_long
14151409;
14161410
14171411multiIndexIndirectUseOfUnionTypesInKeep
1418- // TODO: `union_types` is required only because this makes the test skip in the csv tests; better solution:
1419- // make the csv tests work with multiple indices.
1420- required_capability: union_types
14211412FROM sample_data, sample_data_ts_long
14221413| KEEP client_ip, event_duration, message
14231414| SORT client_ip ASC
@@ -1429,9 +1420,6 @@ client_ip:ip | event_duration:long | message:keyword
14291420;
14301421
14311422multiIndexIndirectUseOfUnionTypesInWildcardKeep
1432- // TODO: `union_types` is required only because this makes the test skip in the csv tests; better solution:
1433- // make the csv tests work with multiple indices.
1434- required_capability: union_types
14351423required_capability: union_types_fix_rename_resolution
14361424FROM sample_data, sample_data_ts_long
14371425| KEEP *
@@ -1444,9 +1432,6 @@ FROM sample_data, sample_data_ts_long
14441432;
14451433
14461434multiIndexIndirectUseOfUnionTypesInWildcardKeep2
1447- // TODO: `union_types` is required only because this makes the test skip in the csv tests; better solution:
1448- // make the csv tests work with multiple indices.
1449- required_capability: union_types
14501435required_capability: union_types_fix_rename_resolution
14511436FROM sample_data, sample_data_ts_long
14521437| KEEP *e*
@@ -1460,9 +1445,6 @@ FROM sample_data, sample_data_ts_long
14601445
14611446
14621447multiIndexUseOfUnionTypesInKeep
1463- // TODO: `union_types` is required only because this makes the test skip in the csv tests; better solution:
1464- // make the csv tests work with multiple indices.
1465- required_capability: union_types
14661448required_capability: union_types_fix_rename_resolution
14671449FROM sample_data, sample_data_ts_long
14681450| KEEP @timestamp
@@ -1474,9 +1456,6 @@ null
14741456;
14751457
14761458multiIndexUseOfUnionTypesInDrop
1477- // TODO: `union_types` is required only because this makes the test skip in the csv tests; better solution:
1478- // make the csv tests work with multiple indices.
1479- required_capability: union_types
14801459required_capability: union_types_fix_rename_resolution
14811460FROM sample_data, sample_data_ts_long
14821461| DROP @timestamp
@@ -1489,9 +1468,6 @@ client_ip:ip | event_duration:long | message:keyword
14891468;
14901469
14911470multiIndexIndirectUseOfUnionTypesInWildcardDrop
1492- // TODO: `union_types` is required only because this makes the test skip in the csv tests; better solution:
1493- // make the csv tests work with multiple indices.
1494- required_capability: union_types
14951471required_capability: union_types_fix_rename_resolution
14961472FROM sample_data, sample_data_ts_long
14971473| DROP *time*
@@ -1504,9 +1480,6 @@ client_ip:ip | event_duration:long | message:keyword
15041480;
15051481
15061482multiIndexIndirectUseOfUnionTypesInWhere
1507- // TODO: `union_types` is required only because this makes the test skip in the csv tests; better solution:
1508- // make the csv tests work with multiple indices.
1509- required_capability: union_types
15101483FROM sample_data, sample_data_ts_long
15111484| WHERE message == "Disconnected"
15121485;
@@ -1517,9 +1490,6 @@ FROM sample_data, sample_data_ts_long
15171490;
15181491
15191492multiIndexIndirectUseOfUnionTypesInDissect
1520- // TODO: `union_types` is required only because this makes the test skip in the csv tests; better solution:
1521- // make the csv tests work with multiple indices.
1522- required_capability: union_types
15231493FROM sample_data, sample_data_ts_long
15241494| DISSECT message "%{foo}"
15251495| SORT client_ip ASC
@@ -1531,9 +1501,6 @@ FROM sample_data, sample_data_ts_long
15311501;
15321502
15331503multiIndexIndirectUseOfUnionTypesInGrok
1534- // TODO: `union_types` is required only because this makes the test skip in the csv tests; better solution:
1535- // make the csv tests work with multiple indices.
1536- required_capability: union_types
15371504FROM sample_data, sample_data_ts_long
15381505| GROK message "%{WORD:foo}"
15391506| SORT client_ip ASC
@@ -1545,9 +1512,6 @@ FROM sample_data, sample_data_ts_long
15451512;
15461513
15471514multiIndexIndirectUseOfUnionTypesInEnrich
1548- // TODO: `union_types` is required only because this makes the test skip in the csv tests; better solution:
1549- // make the csv tests work with multiple indices.
1550- required_capability: union_types
15511515required_capability: enrich_load
15521516FROM sample_data, sample_data_ts_long
15531517| EVAL client_ip = client_ip::keyword
@@ -1561,9 +1525,6 @@ FROM sample_data, sample_data_ts_long
15611525;
15621526
15631527multiIndexIndirectUseOfUnionTypesInStats
1564- // TODO: `union_types` is required only because this makes the test skip in the csv tests; better solution:
1565- // make the csv tests work with multiple indices.
1566- required_capability: union_types
15671528FROM sample_data, sample_data_ts_long
15681529| STATS foo = max(event_duration) BY client_ip
15691530| SORT client_ip ASC
@@ -1577,9 +1538,6 @@ foo:long | client_ip:ip
15771538;
15781539
15791540multiIndexIndirectUseOfUnionTypesInInlineStats-Ignore
1580- // TODO: `union_types` is required only because this makes the test skip in the csv tests; better solution:
1581- // make the csv tests work with multiple indices.
1582- required_capability: union_types
15831541required_capability: inlinestats
15841542FROM sample_data, sample_data_ts_long
15851543| INLINESTATS foo = max(event_duration)
@@ -1592,9 +1550,6 @@ FROM sample_data, sample_data_ts_long
15921550;
15931551
15941552multiIndexIndirectUseOfUnionTypesInLookup-Ignore
1595- // TODO: `union_types` is required only because this makes the test skip in the csv tests; better solution:
1596- // make the csv tests work with multiple indices.
1597- required_capability: union_types
15981553required_capability: lookup_v4
15991554FROM sample_data, sample_data_ts_long
16001555| SORT client_ip ASC
@@ -1608,9 +1563,6 @@ FROM sample_data, sample_data_ts_long
16081563;
16091564
16101565multiIndexIndirectUseOfUnionTypesInMvExpand
1611- // TODO: `union_types` is required only because this makes the test skip in the csv tests; better solution:
1612- // make the csv tests work with multiple indices.
1613- required_capability: union_types
16141566FROM sample_data, sample_data_ts_long
16151567| EVAL foo = MV_APPEND(message, message)
16161568| SORT client_ip ASC
0 commit comments