-
Notifications
You must be signed in to change notification settings - Fork 24.9k
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: tests for LOOKUP JOIN with non-unique join keys #118471
ESQL: tests for LOOKUP JOIN with non-unique join keys #118471
Conversation
1,English, | ||
1,,United Kingdom |
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.
Adding some intentional denormalization ("dirty data") to show how we're collecting nulls and mvs.
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, but I would prefer the tests got moved to before the clientips tests to reduce conflict with my PR.
@@ -3,7 +3,6 @@ | |||
// Reuses the sample dataset and commands from enrich.csv-spec | |||
// | |||
|
|||
//TODO: this sometimes returns null instead of the looked up value (likely related to the execution order) |
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.
I removed this in my PR too!
x-pack/plugin/esql/qa/testFixtures/src/main/resources/lookup-join.csv-spec
Outdated
Show resolved
Hide resolved
Just after the tests with the languages_lookup index, for better organization of the tests.
💚 Backport successful
|
Add a csv dataset and tests for `LOOKUP JOIN` where the join keys are not unique. In particular, add tests that include MVs and nulls to see how `LOOKUP JOIN` treats these.
Add a csv dataset and tests for
LOOKUP JOIN
where the join keys are not unique. In particular, add tests that include MVs and nulls to see howLOOKUP JOIN
treats these.