@@ -1452,3 +1452,90 @@ emp_no:integer | language_code:integer | language_name:keyword
1452
1452
10092 | 1 | English
1453
1453
10093 | 3 | Spanish
1454
1454
;
1455
+
1456
+ multipleBatchesWithSort
1457
+ required_capability: join_lookup_v12
1458
+ required_capability: remove_redundant_sort
1459
+ required_capability: make_number_of_channels_consistent_with_layout
1460
+
1461
+ from *
1462
+ | rename city.country.continent.planet.name as message
1463
+ | lookup join message_types_lookup on message
1464
+ | sort language_code, birth_date
1465
+ | keep language_code
1466
+ | limit 1
1467
+ ;
1468
+
1469
+ language_code:integer
1470
+ 1
1471
+ ;
1472
+
1473
+ multipleBatchesWithMvExpand
1474
+ required_capability: join_lookup_v12
1475
+ required_capability: remove_redundant_sort
1476
+ required_capability: make_number_of_channels_consistent_with_layout
1477
+
1478
+ from *
1479
+ | rename city.country.continent.planet.name as message
1480
+ | lookup join message_types_lookup on message
1481
+ | keep birth_date, language_code
1482
+ | mv_expand birth_date
1483
+ | sort birth_date, language_code
1484
+ | limit 1
1485
+ ;
1486
+
1487
+ birth_date:datetime |language_code:integer
1488
+ 1952-02-27T00:00:00.000Z |null
1489
+ ;
1490
+
1491
+ multipleBatchesWithAggregate1
1492
+ required_capability: join_lookup_v12
1493
+ required_capability: remove_redundant_sort
1494
+ required_capability: make_number_of_channels_consistent_with_layout
1495
+
1496
+ from *
1497
+ | rename city.country.continent.planet.name as message
1498
+ | lookup join message_types_lookup on message
1499
+ | keep birth_date, language_code
1500
+ | stats x=max(birth_date), y=min(language_code)
1501
+ ;
1502
+
1503
+ x:datetime |y:integer
1504
+ 1965-01-03T00:00:00.000Z |1
1505
+ ;
1506
+
1507
+ multipleBatchesWithAggregate2
1508
+ required_capability: join_lookup_v12
1509
+ required_capability: remove_redundant_sort
1510
+ required_capability: make_number_of_channels_consistent_with_layout
1511
+
1512
+ from *
1513
+ | rename city.country.continent.planet.name as message
1514
+ | lookup join message_types_lookup on message
1515
+ | keep birth_date, language_code
1516
+ | stats m=min(birth_date) by language_code
1517
+ | sort language_code
1518
+ | limit 1
1519
+ ;
1520
+
1521
+ m:datetime |language_code:integer
1522
+ null |1
1523
+ ;
1524
+
1525
+ multipleBatchesWithAggregate3
1526
+ required_capability: join_lookup_v12
1527
+ required_capability: remove_redundant_sort
1528
+ required_capability: make_number_of_channels_consistent_with_layout
1529
+
1530
+ from *
1531
+ | rename city.country.continent.planet.name as message
1532
+ | lookup join message_types_lookup on message
1533
+ | keep birth_date, language_code
1534
+ | stats m=min(language_code) by birth_date
1535
+ | sort birth_date
1536
+ | limit 1
1537
+ ;
1538
+
1539
+ m:integer |birth_date:datetime
1540
+ null |1952-02-27T00:00:00.000Z
1541
+ ;
0 commit comments