I would like to point out a PR [1] that proposes a new API for recording and aggregating execution metrics (visible via `EXPLAIN ANALYZE` and programmatically) in case anyone would like to offer feedback for the design
[1] https://github.com/apache/arrow-datafusion/pull/908