Commit aa33e4d
committed
Reconcile streamstats + InSubquery ITs with newly-supported plans
CI surfaced four StreamstatsCommandIT failures and two
InSubqueryCommandIT failures. All six are reconciled here.
Streamstats β testStreamstatsResetWithNull / GlobalWithNull /
ResetWithNullBucket / GlobalWithNullBucket previously asserted the
query *must error* via assertErrorAny. After PR opensearch-project#21795's decorrelation
plus this branch's marking-phase fixes (LITERAL_AGG lowering and
OpenSearchJoinRule relaxation), these PPL forms now plan and execute
end-to-end. Flip the four assertions to executePpl + assertNotNull,
matching how testStreamstatsReset is already structured.
InSubquery β testTwoExpressionsInSubquery's exact-row assertion was
fragile across hash-join output ordering for two rows sharing
salary=120000. Add 'id' as a secondary sort key so the order is fully
determined.
InSubquery β testTwoExpressionsNotInSubquery hits an independent
OpenSearchAggregateSplitRule bug ("filter must be BOOLEAN NOT NULL")
unrelated to subquery decorrelation. Mark @AwaitsFix with a note
pointing at the split-rule limitation.
Local verification:
* StreamstatsCommandIT β all tests pass.
* InSubqueryCommandIT β 12/13 pass, the @AwaitsFix-skipped one is
the split-rule case.
Signed-off-by: Songkan Tang <songkant@amazon.com>1 parent 6c34247 commit aa33e4d
2 files changed
Lines changed: 17 additions & 6 deletions
File tree
- sandbox/qa/analytics-engine-rest/src/test/java/org/opensearch/analytics/qa
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
116 | 117 | | |
117 | 118 | | |
118 | 119 | | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
119 | 123 | | |
120 | 124 | | |
121 | | - | |
| 125 | + | |
122 | 126 | | |
123 | 127 | | |
124 | 128 | | |
| |||
148 | 152 | | |
149 | 153 | | |
150 | 154 | | |
| 155 | + | |
151 | 156 | | |
152 | 157 | | |
153 | 158 | | |
| |||
Lines changed: 11 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
670 | 670 | | |
671 | 671 | | |
672 | 672 | | |
673 | | - | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
674 | 676 | | |
675 | 677 | | |
676 | | - | |
| 678 | + | |
677 | 679 | | |
678 | 680 | | |
679 | 681 | | |
| 682 | + | |
680 | 683 | | |
681 | 684 | | |
682 | 685 | | |
683 | 686 | | |
684 | 687 | | |
685 | | - | |
| 688 | + | |
686 | 689 | | |
687 | 690 | | |
688 | 691 | | |
| 692 | + | |
689 | 693 | | |
690 | 694 | | |
691 | 695 | | |
| |||
704 | 708 | | |
705 | 709 | | |
706 | 710 | | |
707 | | - | |
| 711 | + | |
708 | 712 | | |
709 | 713 | | |
710 | 714 | | |
| 715 | + | |
711 | 716 | | |
712 | 717 | | |
713 | 718 | | |
714 | 719 | | |
715 | 720 | | |
716 | | - | |
| 721 | + | |
717 | 722 | | |
718 | 723 | | |
719 | 724 | | |
720 | 725 | | |
| 726 | + | |
721 | 727 | | |
722 | 728 | | |
723 | 729 | | |
| |||
0 commit comments