Hi all,

I'd like to share a quick update regarding a recent enhancement introduced
in PR #17304. We have extended IoTDB’s query statistics to support counting
filtered rows when predicates are pushed down into scan nodes. And these
statistics will be printed in `explain analyze [verbose]?`

Here are the key changes and capabilities included in this update:

   -

   *Filtered-Row Counters:* We added new counters for filtered rows at
   various levels (time series, chunk, page, and row-scan) to
   QueryStatistics. These are now exposed via Thrift (TQueryStatistics).
   -

   *Verbose Execution:* A new verbose flag is now propagated from the SQL
   layer (using EXPLAIN ANALYZE VERBOSE) through MPPQueryContext,
   FragmentInstance, and down to the scan/reader paths. This allows us to
   accurately record and display row-level filtered counts during query
   analysis.

This feature will significantly improve our ability to analyze query
performance and evaluate filter push-down efficiency. You can review the
full implementation details and code changes directly in the PR:
https://github.com/apache/iotdb/pull/17304

Please feel free to take a look and reach out if you have any questions or
feedback.

Best regards,

Yuan Tian

Reply via email to