-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Filter push down need consider alias columns #2725
Comments
@alamb PTAL I consider change |
Debug log
|
Hi @Ted-Jiang If I read your conclusion corrctly, I think you are saying that the filter added by the filter pushdown rule is remapping the names somehow. Specifically, you are proposing:
If so I agree that sounds like a bug that should be corrected |
You are right! Same idea as you, i am working on it 😊 |
Describe the bug
Filter push down not consider alias columns
To Reproduce
Logical plan
logical plan optimize
physical plan optimize
in logical plan
Filter: #LO_SHIPMODE IN
is after aliasProjection: #LO_ORDERKEY
After optimize
Filter
is beforeProjection
.cause :
Expected behavior
could find alias col
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: