You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 08d8ba1
Browse filesBrowse the repository at this point in the historyBrowse files
Stabilize PPL ITs on the analytics-engine route (percentile/float/datetime/json/dedup/union/rename/chart) (opensearch-project#5564)
Brings 14 PPL IT classes to parity on the analytics-engine route
(-Dtests.analytics.parquet_indices=true). Each gated test is skipped
ONLY on the AE route via @RequiresCapability + a matching build.gradle
excludeTestsMatching; the v2/Calcite path runs all of them unchanged.
Engine divergences gated (route-only, behavior is correct elsewhere):
- PERCENTILE_APPROXIMATE: percentile/median is approximate on DataFusion
- FLOAT_ARITHMETIC_PRECISION: float/half_float arithmetic keeps 32-bit
- DATETIME_FORMAT_RENDERING: date_format/strftime token rendering differs
- UNIX_TIMESTAMP_SUBSECOND: unix_timestamp drops sub-second precision
- JSON_DOLLAR_PATH: json_set/json_delete with $-path is a no-op
- DEDUP_NONDETERMINISTIC: dedup surviving-row selection is unstable
- SAME_INDEX_UNION_CONFLATION: same-index union conflates (delegate leak)
- WILDCARD_COLUMN_ORDER: rename * column order differs
- BIN_TIME_FIELD_BUCKETING: span() time bucketing differs
- MULTI_VALUE_FIELD_LOAD: otel_logs/game_of_thrones multi-value field
can't bulk-load into the parquet store
Two cases were harness-predicate gaps, not real divergences, so they
now PASS on AE instead of being gated: testStatsPercentileWithMin and
testTimestampDiff branch on isCalciteEnabled() for the result type, but
the AE route runs the Calcite path while the cluster setting reads
false; extended the predicate with isAnalyticsParquetIndicesEnabled().
Guarded the otel_logs / game_of_thrones loads in CalciteChartCommandIT
and CalcitePPLJsonBuiltinFunctionIT init() so a multi-value bulk-load
failure no longer aborts init() and mislabels unrelated tests.
CalciteAnalyticsDatetimeWireFormatIT (AE-only via assumeTrue) updated
to assert the date/time UDT types AE now preserves.
Results (this batch, on the AE route):
- CalcitePPLAggregationIT: 100 run, 2 skip
- CalcitePPLBuiltinFunctionIT: 26 run, 3 skip
- CalciteDateTimeFunctionIT: 65 run, 5 skip
- CalcitePPLDedupIT: 15 run, 3 skip
- CalcitePPLJsonBuiltinFunctionIT: 22 run, 2 skip
- CalcitePPLRenameIT: 24 run, 1 skip
- CalciteUnionCommandIT: 15 run, 2 skip
- CalciteChartCommandIT: 15 run, 5 skip
- DateTimeFunctionIT: 59 run, 4 skip
- StatsCommandIT: 59 run, 6 skip
- SystemFunctionIT: 1 run
- CalciteAnalyticsDatetimeWireFormatIT: 11 run
AE route: 0 failures (was 30+ fail across the batch). V2 baseline:
402 run, 0 fail, 3 pre-existing skips, 0 from these gates.
Signed-off-by: Kai Huang <ahkcs@amazon.com>
0 commit comments