Commit 7b05885
committed
Skip PUT+DELETE doc-fixture tests on the analytics-engine storage matrix
These 10 PPL/Calcite integration tests mutate the shared test index by
issuing PUT /<idx>/_doc/<id> + DELETE /<idx>/_doc/<id> around the query
under test. When the suite runs with -Dtests.analytics.parquet_indices=true,
test indices are backed by DataFormatAwareEngine, whose delete() and
prepareDelete() deliberately throw "delete operation not supported." —
parquet/composite storage is append-only by design.
The tests pass under the Lucene-backed default. Skipping them via
Assume.assumeFalse(isAnalyticsParquetIndicesEnabled()) follows the
precedent already established in StatsCommandIT and
CalciteAnalyticsDatetimeWireFormatIT, and prevents the spurious bucket-22
"delete operation not supported" failures in the AE-storage report
without changing any assertion or test behavior on the default path.
Signed-off-by: Jialiang Liang <jiallian@amazon.com>1 parent bcbbc59 commit 7b05885
4 files changed
Lines changed: 44 additions & 0 deletions
File tree
- integ-test/src/test/java/org/opensearch/sql
- calcite/remote
- ppl
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
295 | 296 | | |
296 | 297 | | |
297 | 298 | | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
298 | 303 | | |
299 | 304 | | |
300 | 305 | | |
| |||
324 | 329 | | |
325 | 330 | | |
326 | 331 | | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
327 | 336 | | |
328 | 337 | | |
329 | 338 | | |
| |||
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
507 | 508 | | |
508 | 509 | | |
509 | 510 | | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
510 | 515 | | |
511 | 516 | | |
512 | 517 | | |
| |||
666 | 671 | | |
667 | 672 | | |
668 | 673 | | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
669 | 678 | | |
670 | 679 | | |
671 | 680 | | |
| |||
934 | 943 | | |
935 | 944 | | |
936 | 945 | | |
| 946 | + | |
| 947 | + | |
| 948 | + | |
| 949 | + | |
937 | 950 | | |
938 | 951 | | |
939 | 952 | | |
| |||
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
1565 | 1566 | | |
1566 | 1567 | | |
1567 | 1568 | | |
| 1569 | + | |
| 1570 | + | |
| 1571 | + | |
| 1572 | + | |
1568 | 1573 | | |
1569 | 1574 | | |
1570 | 1575 | | |
| |||
Lines changed: 17 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
1053 | 1054 | | |
1054 | 1055 | | |
1055 | 1056 | | |
| 1057 | + | |
| 1058 | + | |
| 1059 | + | |
| 1060 | + | |
1056 | 1061 | | |
1057 | 1062 | | |
1058 | 1063 | | |
| |||
1141 | 1146 | | |
1142 | 1147 | | |
1143 | 1148 | | |
| 1149 | + | |
| 1150 | + | |
| 1151 | + | |
| 1152 | + | |
1144 | 1153 | | |
1145 | 1154 | | |
1146 | 1155 | | |
| |||
1189 | 1198 | | |
1190 | 1199 | | |
1191 | 1200 | | |
| 1201 | + | |
| 1202 | + | |
| 1203 | + | |
| 1204 | + | |
1192 | 1205 | | |
1193 | 1206 | | |
1194 | 1207 | | |
| |||
1237 | 1250 | | |
1238 | 1251 | | |
1239 | 1252 | | |
| 1253 | + | |
| 1254 | + | |
| 1255 | + | |
| 1256 | + | |
1240 | 1257 | | |
1241 | 1258 | | |
1242 | 1259 | | |
| |||
0 commit comments