-
Notifications
You must be signed in to change notification settings - Fork 25.6k
ESQL: CCS skip_unavailable testing for non-matching index expressions under RCS2 #116846
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
ESQL: CCS skip_unavailable testing for non-matching index expressions under RCS2 #116846
Conversation
Pinging @elastic/es-analytical-engine (Team:Analytics) |
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.
LGTM and thanks for the comments as they serve as documentation for how this is intended to work for various cases (which i will never remember and is too low level for reference documentation)
assertThat(e.getMessage(), containsString("on indices [employees_nomatch]")); | ||
assertThat(e.getMessage(), containsString("security_exception")); | ||
|
||
// TODO: in follow on PR, add support for throwing a VerificationException for this scenario - no exception is currently thrown |
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.
nit: can you remove "in a follow on PR", unless you plan to address immediately ? else, if in a year+ looking at the message appears that we forgot to do something important instead of a standard TODO which represents an area of improvement, but maybe not completely necessary.
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.
Follow-on PR for functionality added in #116348