Skip to content

ESQL: Enable AllSupportedFieldsTestCase in SNAPSHOT#139396

Merged
nik9000 merged 10 commits intoelastic:mainfrom
alex-spies:enable-allsupportedfieldsit-on-snapshot
Jan 22, 2026
Merged

ESQL: Enable AllSupportedFieldsTestCase in SNAPSHOT#139396
nik9000 merged 10 commits intoelastic:mainfrom
alex-spies:enable-allsupportedfieldsit-on-snapshot

Conversation

@alex-spies
Copy link
Copy Markdown
Contributor

Part of #137534

One step when adding a new data type is updating AllSupportedFieldsTestCase with new expectation for the data type, to ensure that queries like FROM * | KEEP * or FROM * | ENRICH policy keep working when an existing data type gets support in ESQL.

One annoying hurdle is that this test only ever runs for release builds. So one can entirely miss the test until after releasing the new type (even though it's mentioned in the docs for adding a new type) and ends up with a broken build, remaining unaware of the bwc problems this test guards against until the very last minute.

Wouldn't it be nice if we could just run it in release mode and already update the test expectations for SNAPSHOT builds? So we can see what the behavior of queries will look like with the new type, without actually having to release the type for this?

As #137432 enabled version-aware planning of data types in SNAPSHOT builds, we can do just that, making this test suite less weird and hopefully easier to work with.

@alex-spies alex-spies added >test Issues or PRs that are addressing/adding tests :Analytics/ES|QL AKA ESQL v9.3.0 labels Dec 11, 2025
@elasticsearchmachine elasticsearchmachine added the Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) label Dec 11, 2025
@elasticsearchmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-analytical-engine (Team:Analytics)

@alex-spies alex-spies added test-full-bwc Trigger full BWC version matrix tests test-release Trigger CI checks against release build labels Dec 15, 2025
@alex-spies
Copy link
Copy Markdown
Contributor Author

Waiting on #133309, as the new DATE_RANGE type will require a test update if AllSupportedFieldsTestCase is enabled in SNAPSHOT.

@nik9000 nik9000 enabled auto-merge (squash) January 22, 2026 15:35
@nik9000 nik9000 merged commit 77137ef into elastic:main Jan 22, 2026
32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Analytics/ES|QL AKA ESQL Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) >test Issues or PRs that are addressing/adding tests test-full-bwc Trigger full BWC version matrix tests test-release Trigger CI checks against release build v9.4.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants