Skip to content
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

Attribute dependency not captured for complex plans #671

Open
uday1409 opened this issue May 1, 2023 · 2 comments
Open

Attribute dependency not captured for complex plans #671

uday1409 opened this issue May 1, 2023 · 2 comments

Comments

@uday1409
Copy link
Contributor

uday1409 commented May 1, 2023

We observed that when there are multiple nested queries along with window functions involved, attribute dependency not properly tracked. For example, avg_monthly_purhcase dependency should point to customer_id and purchase_amount but the link is completely broken. Attaching test queries and generated plan..

SampleQueryWithNestedWindowFunction.txt
customerprocess_plan.txt

@uday1409
Copy link
Contributor Author

I will check if I can fix this when I get time. Able to reproduce and have a test query as well

@wajda
Copy link
Contributor

wajda commented Jun 15, 2023

thank you @uday1409, your contribution is highly appreciated!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: New
Development

No branches or pull requests

2 participants