-
Notifications
You must be signed in to change notification settings - Fork 25.7k
ESQL: Add createdVersion for types #137432
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
Pinging @elastic/es-analytical-engine (Team:Analytics) |
nik9000
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense to me and should make our situation better.
|
Will update and merge after #137431. |
|
Unrelated release test failure: #138946 Let's get these muted; at least the serverless checks better be passing. (The only release tests that matter are the AllFieldsSupportedITs, and they're fine.) |
When a new type is added, it is marked as under construction and considered always supported when running tests on SNAPSHOT builds.
This is problematic for existing ENRICH tests because they correctly use
DATE_RANGEfields, which we are trying to add support to. When turningDATE_RANGEfrom unsupported to under construction, our bwc tests break because old nodes, of course, can't even deserialize the newDATE_RANGEdata type.Add the notion of a
createdVersionfor new data types. This is the first version from which the type can be used in SNAPSHOT builds and tests; for released types, this version is additional (and generally different) to the supported version, which is the first version on which production builds will consider a type as supported.