Skip to content

Aggregation tests have switches with impossible branches #88745

@pugnascotia

Description

@pugnascotia

The following aggregation tests all contain switch statements with branches that will never execute. The tests use a between(x, y) switch expression, but there are case values that are outside the randomised range. We need to fix these before #88739 can be merged. By "fix", I mean either remove the spurious cases, or if we actually want them, then extend the randomized range.

  • InternalAutoDateHistogramTests
  • InternalAvgTests
  • InternalDerivativeTests
  • InternalGeoCentroidTests
  • InternalWeightedAvgTests
  • SignificantLongTermsTests
  • SignificantStringTermsTests

Metadata

Metadata

Assignees

Labels

:Analytics/AggregationsAggregations>testIssues or PRs that are addressing/adding testsTeam:AnalyticsMeta label for analytical engine team (ESQL/Aggs/Geo)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions