Description
In tests, we usually call `plan.analyze` to get the analyzed plan and test analyzer/optimizer rules. However, `plan.analyze` doesn't guarantee the plan is resolved, which may surprise the test writers.
In tests, we usually call `plan.analyze` to get the analyzed plan and test analyzer/optimizer rules. However, `plan.analyze` doesn't guarantee the plan is resolved, which may surprise the test writers.