Skip to content

[ESQL] Implicit cast based on widened type - #153268

Merged
GalLalouche merged 3 commits into
elastic:mainfrom
GalLalouche:fix/two_legged_punk_wide
Jul 29, 2026
Merged

GalLalouche merged 3 commits into
elastic:mainfrom
GalLalouche:fix/two_legged_punk_wide

Conversation

@GalLalouche

Copy link
Copy Markdown
Contributor

Follow up to #148800, adding implicit casts for two-legged punks when the mapped typed is a narrow type, e.g., SHORT.

Resolves #152997.

@GalLalouche GalLalouche added >bug Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) :Analytics/ES|QL AKA ESQL labels Jul 8, 2026
@elasticsearchmachine

Copy link
Copy Markdown
Collaborator

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

@elasticsearchmachine

Copy link
Copy Markdown
Collaborator

Hi @GalLalouche, I've created a changelog YAML for you.

@GalLalouche GalLalouche added auto-backport Automatically create backport pull requests when merged v9.5.0 labels Jul 8, 2026
@github-actions

github-actions Bot commented Jul 8, 2026 •

Copy link
Copy Markdown
Contributor

🔍 Preview links for changed docs

⏳ Building and deploying preview... View progress

This comment will be updated with preview links when the build is complete.

@github-actions

github-actions Bot commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

ℹ️ Important: Docs version tagging

👋 Thanks for updating the docs! Just a friendly reminder that our docs are now cumulative. This means all 9.x versions are documented on the same page and published off of the main branch, instead of creating separate pages for each minor version.

We use applies_to tags to mark version-specific features and changes.

Expand for a quick overview

When to use applies_to tags:

✅ At the page level to indicate which products/deployments the content applies to (mandatory)
✅ When features change state (e.g. preview, ga) in a specific version
✅ When availability differs across deployments and environments

What NOT to do:

❌ Don't remove or replace information that applies to an older version
❌ Don't add new information that applies to a specific version without an applies_to tag
❌ Don't forget that applies_to tags can be used at the page, section, and inline level

🤔 Need help?

@GalLalouche GalLalouche changed the title ESQL: Implicit cast based on widened type [ESQL] Implicit cast based on widened type Jul 10, 2026

@ivancea ivancea left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@GalLalouche
GalLalouche merged commit d5c678f into elastic:main Jul 29, 2026
41 checks passed
@elasticsearchmachine

Copy link
Copy Markdown
Collaborator

💚 Backport successful

Status Branch Result
✅ 9.5

elasticsearchmachine pushed a commit that referenced this pull request Jul 29, 2026
Follow up to #148800, adding implicit casts for two-legged punks when the mapped typed is a narrow type, e.g., SHORT.

Resolves #152997.
tballison pushed a commit to tballison/elasticsearch that referenced this pull request Aug 4, 2026
Follow up to elastic#148800, adding implicit casts for two-legged punks when the mapped typed is a narrow type, e.g., SHORT.

Resolves elastic#152997.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Analytics/ES|QL AKA ESQL auto-backport Automatically create backport pull requests when merged >bug Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) v9.5.0 v9.6.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[ES|QL] Missing implicit cast on short PUNKs

3 participants