Skip to content

Conversation

@idegtiarenko
Copy link
Contributor

This change adds a test that verifies index selector could be resolved as well.
In this case ::data is verified that is pointing to the original data stream.

@idegtiarenko idegtiarenko added >non-issue Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) :Analytics/ES|QL AKA ESQL v9.3.0 labels Dec 19, 2025
@elasticsearchmachine
Copy link
Collaborator

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

Copy link
Contributor

@luigidellaquila luigidellaquila left a comment

Choose a reason for hiding this comment

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

LGTM

try (var response = run(syncEsqlQueryRequest("FROM data-stream-1"))) {
assertOk(response);
}
try (var response = run(syncEsqlQueryRequest("FROM data-stream-1::data"))) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Can this be applied to all kinds of indices?
In case, maybe we can randomize some of our existing tests (conditionally adding ::data), that already validate the query output.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This should only be applicable to data streams. The rest should result in not found. I should probably add some cases for that

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

Labels

:Analytics/ES|QL AKA ESQL >non-issue Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) v9.3.0 v9.4.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants