-
Notifications
You must be signed in to change notification settings - Fork 919
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
[Bug] Lineage is empty when logical plan has no child #6706
Comments
Hello @vinayakmalik95, |
This is present in all release since the inception of lineage in kyuubi. @iodone @zwangsheng @bowenliang123 @cfmcgrady let me know so I can raise the PR |
Can you run the unit test with your specific error case? |
yes it fails with current unit test |
@vinayakmalik95 You can try to fix it if the problem has been located. |
I have already provided the solution in the comments above, let me open the PR for the same. |
Code of Conduct
Search before asking
Describe the bug
Lineage is returned as empty since we dont return the parentColumnLineage
but an empty AttributeSet()
case p if p.children.isEmpty => ListMapAttribute, AttributeSet
where as it should be
case p if p.children.isEmpty => parentColumnsLineage
Affects Version(s)
https://github.com/apache/kyuubi/releases/tag/v1.9.2
Kyuubi Server Log Output
Kyuubi Engine Log Output
Kyuubi Server Configurations
No response
Kyuubi Engine Configurations
No response
Additional context
By uddating the logic when
case p if p.children.isEmpty
we should return the parentColumnLineage instead of empty ListMapAttribute, AttributeSet
Are you willing to submit PR?
The text was updated successfully, but these errors were encountered: