Parallel replicas and join throw error 'expected to process query to fetch columns stage. Actual WithMergeableState' #63984
Labels
analyzer
Issues and pull-requests related to new analyzer
bug
Confirmed user-visible misbehaviour in official release
comp-parallel-replicas
Parallel reading from replicas
It's happening when the left table is any non-MergeTree engine, and parallel replicas are applied to the right table.
Steps to reproduce:
https://pastila.nl/?071fe961/348bfa8907696c4c33158b439882c5c0#yhmcsIe8T/lJjbjeT7EgNg==
It yields two plans to join:
The plan for the right side has
from_stage = WithMergeableState
, and moreover, it seems like it is already a joined plan that has two columns for some reason.The text was updated successfully, but these errors were encountered: