-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Query stuck in PLANNING indefinitely #4638
Comments
Thanks @rmgpinto for creating the issue. Can you also provide schemas (SHOW CREATE TABLE) of the tables involved? Also, would you be able to add a regression test cases in |
@findepi that PR fixes it. |
I can confirm that #4635 fixes the issue. It can be reduced in the following way:
In Then, symbol mappings are created within ExchangeNode output symbols. Mapping After applying both mapping strategies, we get a mapping with a cycle: The solution proposed in #4635 is to not apply both strategies. It reverts a bug introduced while refactoring the class. |
Hi,
As @findepi requested on slack, I'm creating this issue.
I'm executing a query and it's stuck on PLANNING.
dump.log: https://gist.github.com/rmgpinto/68d6e1bcf4c986fde3995a35a1b28a6b
query:
suspect: #4632
The text was updated successfully, but these errors were encountered: