Skip to content

Conversation

@idegtiarenko
Copy link
Contributor

This change fixes StatementParserTests.testPreserveParanthesis as it now depends on capability enabled only on snapshot builds

Closes: #129887
Related to: #129526

This change fixes StatementParserTests.testPreserveParanthesis as it now depends on capability enabled only on snapshot builds
@idegtiarenko idegtiarenko added >test Issues or PRs that are addressing/adding tests Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) :Analytics/ES|QL AKA ESQL v9.1.0 labels Jun 24, 2025
@elasticsearchmachine
Copy link
Collaborator

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

Copy link
Contributor

@astefan astefan left a comment

Choose a reason for hiding this comment

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

LGTM

public void testSubqueryWithPipe() {
assumeTrue("Requires EXPLAIN capability", EsqlCapabilities.Cap.EXPLAIN.isEnabled());
assertEquals(new Explain(EMPTY, PROCESSING_CMD_INPUT), statement("explain ( row a = 1 )"));
}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

testSubquery and testSubqueryWithPipe are identical now. I am keeping only one of them.

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.

Thanks @idegtiarenko, LGTM

@idegtiarenko idegtiarenko merged commit da6029f into elastic:main Jun 24, 2025
32 checks passed
@idegtiarenko idegtiarenko deleted the fix_129887 branch June 24, 2025 09:28
mridula-s109 pushed a commit to mridula-s109/elasticsearch that referenced this pull request Jun 25, 2025
This change fixes StatementParserTests.testPreserveParanthesis as it now depends on capability enabled only on snapshot builds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Analytics/ES|QL AKA ESQL Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) >test Issues or PRs that are addressing/adding tests v9.1.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[CI] StatementParserTests class failing

4 participants