logan-keede commented on PR #16016: URL: https://github.com/apache/datafusion/pull/16016#issuecomment-2907757622
> regarding the depth issue, I don't think it's likely to be handled in the optimizer. I agree with @irenjj , it seems like correlated subqueries with depth>1 does not reach optimizer as they report `Schema Error: No field named xyz.col` (#15558) in planning phase. I think the first step would be to recognise subquery's correlated columns and make dependent join in planning phase itself or somehow store relevant information in logical plan to make dependent join in optimizer like #16174. -- 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: github-unsubscr...@datafusion.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org