test: add EXPLAIN ANALYZE alias regression - #24501
Conversation
Qodo reviews are paused for this user.Troubleshooting steps vary by plan Learn more → On a Teams plan? Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center? |
Merge Queue Status
This pull request spent 46 minutes 45 seconds in the queue, with no time running CI. Waiting for
All conditions
ReasonThe merge conditions cannot be satisfied due to failing checks HintYou may have to fix your CI before adding the pull request to the queue again. |
Merge Queue Status
This pull request spent 2 hours 31 minutes 49 seconds in the queue, including 1 hour 3 minutes 29 seconds running CI. Required conditions to merge
|
What type of PR is this?
Which issue(s) this PR fixes:
issue #23121
What this PR does / why we need it:
The
EXPLAIN ANALYZEalias-resolution failure described in #23121 could not be reproduced on currentupstream/mainwith the issue's grouped left-join shape. The query resolvesc.full_namecorrectly and returns an analyzed plan.This PR adds a focused BVT regression case to keep that behavior covered without changing planner or binder logic.
Changes:
EXPLAIN ANALYZEregression scenario for grouped joins that reference table-alias columns in the select list and group key.column 'c.full_name' does not existfailure is absent.Validation:
make buildEXPLAIN ANALYZEsucceeded and emittedGroup Key: c.id, c.full_name.