You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
currently, if we have a query like this, the output is kind of a little bit hard to decipher, as we repeat the same expression twice in the explain format.
The reason for the repeat is that as is eliminated at binder stage and doesn't exist in the plan. In egg-based planner, common expressions always share the same node. So I didn't introduce the as node in order not to make things complicated.
I think there are 2 possible solutions for this issue:
Resolve common expressions from child nodes and assign temporary variables for them in EXPLAIN. The output would be like:
The reason for the repeat is that as is eliminated at binder stage and doesn't exist in the plan. In egg-based planner, common expressions always share the same node. So I didn't introduce the as node in order not to make things complicated.
I think there are 2 possible solutions for this issue:
Resolve common expressions from child nodes and assign temporary variables for them in EXPLAIN. The output would be like:
currently, if we have a query like this, the output is kind of a little bit hard to decipher, as we repeat the same expression twice in the explain format.
probably we should have something like,
The text was updated successfully, but these errors were encountered: