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
Planning error for correlated queries over Hive connector #6215
Comments
@kokosing, can you take a look? |
Sure thing ;) The query is similar to the query we have already talked about: #6155 (comment) It should raise an exception that it is not supported for now. I will fix that. Anyway I think that using
And as such it should be working now in Presto. I will post a PR that does this rewrite automatically. |
Never mind my previous comment. I didn't know that |
Do not optimize expressions which contains symbols to the outer query. Fixes prestodb#6215
Here is a fix: #6217 I just disabled optmizing expression which contains correlated symbols to outer query. The next step would be to make |
I wanted to add that the mentioned next step will be only needed when |
Running the following query as part of TestHiveDistributedQueries fails with a planning error. It seems to happen during partition pruning.
The text was updated successfully, but these errors were encountered: