Skip to content

docs: document TS grouped-results expansion in Discover (#7625) - #7679

Draft
florent-leborgne wants to merge 1 commit into
mainfrom
docs-issue-7625-ts-cascade
Draft

docs: document TS grouped-results expansion in Discover (#7625)#7679
florent-leborgne wants to merge 1 commit into
mainfrom
docs-issue-7625-ts-cascade

Conversation

@florent-leborgne

Copy link
Copy Markdown
Member

Summary

This PR addresses #7625 with the following changes:

  • explore-analyze/discover/try-esql.md: In the "View grouped results from a STATS query" section, add a preview 9.5-scoped paragraph to the activation rules explaining that queries starting with the TS source command support the grouped layout and group expansion (Discover converts TS to FROM internally when fetching the underlying documents), while queries using TS_INFO or METRICS_INFO keep the flat table because their synthetic metric-metadata rows have no underlying documents to expand.

Both behaviors are verified against the implementation at HEAD in elastic/kibana#280580:

  • hasTimeseriesInfoCommand returns no cascade metadata for TS_INFO/METRICS_INFO queries, so those keep the flat table.
  • convertTimeseriesCommandNodeToFrom rewrites TS to FROM when building the expansion subquery.

The new paragraph is tagged stack: preview 9.5 / serverless: preview, consistent with the sibling sub-features in this section (Fast mode note, sparklines) and with the feature's technical-preview status. The base activation paragraph (preview 9.4) is preserved for earlier versions.

Resolves

Closes #7625


AI-generated draft — created with Claude Opus 4.8.
Review all generated content for factual accuracy before merging.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

Elastic Docs AI PR menu

Check the box to run an AI review for this pull request.

  • Review docs changes (docs-review). Status: not started.

Powered by GitHub Agentic Workflows and docs-actions. For more information, reach out to the docs team.

@github-actions

github-actions Bot commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

🔍 Preview links for changed docs

@github-actions

Copy link
Copy Markdown
Contributor

✅ Elastic Docs Style Checker (Vale)

No issues found on modified lines!


The Vale linter checks documentation changes against the Elastic Docs style guide. To use Vale locally or report issues, refer to Elastic style guide for Vale.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Expanding grouped results now works for ES|QL time series (TS) queries in Discover

1 participant