jackwener commented on PR #4767: URL: https://github.com/apache/arrow-datafusion/pull/4767#issuecomment-1439940934
> As you plan to eliminate subquery alias, I think maybe we should add subquery alias in Bind/Analyze stage not in optimization stage. Current, There isn't a `binder/analyzer` in `Datafusion`, I have tried to implemented it, but it's a difficult and huge work. I think add `subquery alias` in optimization also is reasonable. > DecorrelateWhereExists doesn't add subquery alias I think it's an oversight, and if anyone want to unify `DecorrelateWhereExists` and `DecorrelateWhereIn`, I think this problem will be fixed. I also suspect that this problem may be caused by out-of-sync modifications (`DecorrelateWhereIn` was fixed but `DecorrelateWhereExists` not) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
