Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
planner: ensure `execution info` column in EXPLAIN ANALYZE exists #10035
What problem does this PR solve?
In #9805, when both tables are empty, the IndexLookUp plan is never visited, so the plan has no statistics. The previous implementation did not consider this case and caused the
What is changed and how it works?
When a plan has no stats, assume the plan is not executed at all and fill in a default value
@@ Coverage Diff @@ ## master #10035 +/- ## =========================================== Coverage ? 78.0118% =========================================== Files ? 404 Lines ? 82026 Branches ? 0 =========================================== Hits ? 63990 Misses ? 13333 Partials ? 4703