-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
LOOKUP shouldn't duplicate the output if the same field was already present in the input #109392
Comments
Pinging @elastic/es-analytical-engine (Team:Analytics) |
I don't believe both appear in the results:
At least, not in the code as it stands as of yesterday. The LOOKUP result wins. Now, the column pruning happens too late which is a problem, but the output presently looks ok. Also, I might be doing it in a weird way. The QL rules are indeed complex. |
@nik9000 the query I was looking at few hours ago is much simpler:
The result I got:
|
neat! |
Fix #109392 This makes attribute shadowing of LOOKUP consistent with ENRICH, DISSECT/GROK and EVAL.
Description
This is a follow up to LOOKUP work where, if there is a field with a name identical to the one LOOKUP introduces, both of them appear in the results. We need to be consistent here and:
The text was updated successfully, but these errors were encountered: