-
Notifications
You must be signed in to change notification settings - Fork 25.6k
[ES|QL] Fix MapExpression and named parameter related tests in StatementParserTests #121075
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ES|QL] Fix MapExpression and named parameter related tests in StatementParserTests #121075
Conversation
…ctionArgumentWithUnsupportedNamedParameterTypes
| assumeTrue( | ||
| "named parameters for identifiers and patterns require snapshot build", | ||
| EsqlCapabilities.Cap.NAMED_PARAMETER_FOR_FIELD_AND_FUNCTION_NAMES_SIMPLIFIED_SYNTAX.isEnabled() | ||
| ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doing it this way will cause the whole test to stop. Maybe we're better off wrapping the assertion in an if
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The tests that run only under snapshot are extracted to a separate test.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
| assumeTrue( | ||
| "named parameters for identifiers and patterns require snapshot build", | ||
| EsqlCapabilities.Cap.NAMED_PARAMETER_FOR_FIELD_AND_FUNCTION_NAMES_SIMPLIFIED_SYNTAX.isEnabled() | ||
| ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
|
@elasticmachine update branch |
|
Pinging @elastic/es-analytical-engine (Team:Analytics) |
|
The reported failures below are unrelated, I'll get this merged to unblock #121306 and #121297 elasticsearch-ci/checkPart3 / release-tests |
…entParserTests (elastic#121075) * fix StatementParserTests.testNamedFunctionArgumentInMap, testNamedFunctionArgumentWithUnsupportedNamedParameterTypes * separate snapshot test from release test --------- Co-authored-by: Elastic Machine <[email protected]>
💔 Backport failed
You can use sqren/backport to manually backport by running |
…entParserTests (elastic#121075) * fix StatementParserTests.testNamedFunctionArgumentInMap, testNamedFunctionArgumentWithUnsupportedNamedParameterTypes * separate snapshot test from release test --------- Co-authored-by: Elastic Machine <[email protected]> (cherry picked from commit b381a1d) # Conflicts: # muted-tests.yml
💚 All backports created successfully
Questions ?Please refer to the Backport tool documentation |
…entParserTests (elastic#121075) * fix StatementParserTests.testNamedFunctionArgumentInMap, testNamedFunctionArgumentWithUnsupportedNamedParameterTypes * separate snapshot test from release test --------- Co-authored-by: Elastic Machine <[email protected]>
…entParserTests (#121075) (#121330) * fix StatementParserTests.testNamedFunctionArgumentInMap, testNamedFunctionArgumentWithUnsupportedNamedParameterTypes * separate snapshot test from release test --------- Co-authored-by: Elastic Machine <[email protected]> (cherry picked from commit b381a1d) # Conflicts: # muted-tests.yml
…entParserTests (#121075) (#121331) * fix StatementParserTests.testNamedFunctionArgumentInMap, testNamedFunctionArgumentWithUnsupportedNamedParameterTypes * separate snapshot test from release test --------- Co-authored-by: Elastic Machine <[email protected]> (cherry picked from commit b381a1d) # Conflicts: # muted-tests.yml
…entParserTests (elastic#121075) * fix StatementParserTests.testNamedFunctionArgumentInMap, testNamedFunctionArgumentWithUnsupportedNamedParameterTypes * separate snapshot test from release test --------- Co-authored-by: Elastic Machine <[email protected]>
…entParserTests (#121075) (#121328) * fix StatementParserTests.testNamedFunctionArgumentInMap, testNamedFunctionArgumentWithUnsupportedNamedParameterTypes * separate snapshot test from release test --------- Co-authored-by: Elastic Machine <[email protected]>
Resolves: #121020
Resolves: #121047
These two tests -
testNamedFunctionArgumentInMap,testNamedFunctionArgumentWithUnsupportedNamedParameterTypesinStatementParserTestsreference some features that are still under snapshot, add the check toEsqlCapabilitiesin them.