Commit e02639d
committed
Inject parquet settings in testSearchCommandWithSpecialIndexName
The test creates `logs-2021.01.11` and `logs-7.10.0-2021.01.11` directly
via raw PUTs to exercise the parser's handling of dot/version-prefixed
index names. The raw path bypasses `TestUtils.createIndexByRestClient`,
so the analytics-engine `tests.analytics.parquet_indices=true` toggle
never injects the composite/parquet settings. On the analytics-engine
route this surfaces as `Table 'logs-2021.01.11' not found` (the
catalog-builder only exposes indices that match an analytics-engine-
recognized data format), failing the test.
Routing the creates through `TestUtils.createIndexByRestClient` makes
both code paths honor the toggle: legacy / Calcite continues to create
plain Lucene-backed indices, analytics-engine gets parquet-backed
composite indices. The index names are still tested verbatim.
Surfaced by `CalciteSearchCommandIT` on the analytics-engine route.
Signed-off-by: Kai Huang <ahkcs@amazon.com>1 parent 9300574 commit e02639d
1 file changed
Lines changed: 7 additions & 2 deletions
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
58 | 62 | | |
59 | 63 | | |
60 | | - | |
| 64 | + | |
| 65 | + | |
61 | 66 | | |
62 | 67 | | |
63 | 68 | | |
| |||
0 commit comments