Commit ab58c4d
authored
Exclude full-text search-filter operator tests on the analytics-engine route (#5527)
The 7 comparison-operator tests in OperatorIT / CalciteOperatorIT use the search-filter
syntax (source=idx age = 32), which lowers to a Lucene query_string predicate. Executing
it on the analytics-engine route fails with a null LuceneReader: query_string needs an
inverted-index searcher, which parquet-backed analytics indices don't have (DataFusion is
not a full-text engine). Full-text search is genuinely unsupported there.
Exclude these tests only when the analytics route is actually enabled
(Boolean.parseBoolean(tests.analytics.parquet_indices), matching
AnalyticsIndexConfig.isEnabled) so the v2 path still runs them, following the established
build.gradle exclusion pattern.
Signed-off-by: Kai Huang <ahkcs@amazon.com>1 parent f861d02 commit ab58c4d
1 file changed
Lines changed: 19 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1035 | 1035 | | |
1036 | 1036 | | |
1037 | 1037 | | |
| 1038 | + | |
| 1039 | + | |
| 1040 | + | |
| 1041 | + | |
| 1042 | + | |
1038 | 1043 | | |
1039 | 1044 | | |
1040 | 1045 | | |
1041 | | - | |
1042 | | - | |
| 1046 | + | |
| 1047 | + | |
1043 | 1048 | | |
1044 | 1049 | | |
| 1050 | + | |
| 1051 | + | |
| 1052 | + | |
| 1053 | + | |
| 1054 | + | |
| 1055 | + | |
| 1056 | + | |
| 1057 | + | |
| 1058 | + | |
| 1059 | + | |
| 1060 | + | |
| 1061 | + | |
1045 | 1062 | | |
1046 | 1063 | | |
1047 | 1064 | | |
| |||
0 commit comments