Description:
Add partition pruning information to iterator-based EXPLAIN output.
Traditional EXPLAIN already reports the selected partitions in the partitions column, and legacy JSON EXPLAIN exposes the same information through a partitions property. The tree-based EXPLAIN output, including hypergraph plans and EXPLAIN ANALYZE, currently omits this information. The new iterator-based JSON format, used by JSON format version 2 and hypergraph JSON output, also does not expose the selected partitions today.
This work should make partition information visible on relevant table access nodes in tree-based EXPLAIN and in the new JSON format, so all EXPLAIN formats provide consistent visibility into partition pruning.
How to repeat:
N/A