Skip to content

ESQL: AllSupportedFieldsTestCase improvements #141250

@alex-spies

Description

@alex-spies

Follow-up to #137534.

We should increase test coverage a little bit more in AllSupportedFieldsTestCase. Recall, these tests guard against regressions of existing, simple queries when we roll out new data types, and thus prevent accidental breakage.

  • More test cases:
    • Enable ENRICH tests in AllSupportedFieldsTestCase on SNAPSHOT: requires updating the test cases for the new DATE_RANGE type. See disabled test cases here and here.
    • Bwc tests with union types, when one (or more) of the constituent types are only supported on the newer nodes
    • tests with subfields: a.b may have a supported type but a not and vice versa
    • Tests with CPS/remote indices aliased by a flat index name
    • CCQ tests where one cluster can already index EXPONENTIAL_HISTOGRAM (and any other new types that we'll add in the future) but another cluster is too old - the corresponding fields should be treated as UNSUPPORTED irrespective of whether the new or the old cluster is coordinating the query.
    • Tests with _tsid

Metadata

Metadata

Assignees

No one assigned

    Labels

    :Analytics/ES|QLAKA ESQL>tech-debt>testIssues or PRs that are addressing/adding testsTeam:AnalyticsMeta label for analytical engine team (ESQL/Aggs/Geo)

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions