Commit c8bc773
committed
Use a parquet-backed index in CalcitePPLAggregationIT.testSimpleCount0
The test created an ad-hoc 'test' index with raw _doc PUTs. On the analytics-engine
route (tests.analytics.parquet_indices) that bare auto-created index is not
composite/parquet-backed, so it does not route through the analytics engine and the
test is not exercising the intended path. Switch to TEST_INDEX_BANK, which init()
loads via loadIndex (which injects the parquet settings when the flag is set, 7
docs), so the test is meaningful on both the v2/Calcite and analytics-engine paths.
Verified passing on both routes.
Diagnosis by Sandesh Kumar.
Signed-off-by: Kai Huang <ahkcs@amazon.com>1 parent c6360e9 commit c8bc773
1 file changed
Lines changed: 8 additions & 10 deletions
Lines changed: 8 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | 28 | | |
30 | 29 | | |
31 | 30 | | |
| |||
52 | 51 | | |
53 | 52 | | |
54 | 53 | | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
63 | 61 | | |
64 | | - | |
| 62 | + | |
65 | 63 | | |
66 | 64 | | |
67 | 65 | | |
| |||
0 commit comments