ESQL: Clearer error message on nested aggregations#149385
Conversation
|
Pinging @elastic/es-analytical-engine (Team:Analytics) |
|
Hi @GalLalouche, I've created a changelog YAML for you. |
🔍 Preview links for changed docs⏳ Building and deploying preview... View progress This comment will be updated with preview links when the build is complete. |
ℹ️ 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 overviewWhen to use applies_to tags:✅ At the page level to indicate which products/deployments the content applies to (mandatory) What NOT to do:❌ Don't remove or replace information that applies to an older version 🤔 Need help?
|
MattAlp
left a comment
There was a problem hiding this comment.
The PR body itself could use a bit more detail - LGTM content-wise
This PR replaces an internal error ("plan optimized incorrectly due to missing references") that happens with nested aggregations (e.g.,
countinside ofaverage) with a proper 400 error, so the user would know what they did wrong, and this won't get flagged up as an internal error for on-callers.