You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datafusion.apache.org by gi...@apache.org on 2026/10/05 10:03:18 UTC

(datafusion) 01/01: docs: mention output_rows_skew on partitioned operators in explain-usage (#26048)

This is an automated email from the ASF dual-hosted git repository.

github-merge-queue[bot] pushed a commit to branch gh-readonly-queue/main/pr-26048-982fca6907fcfc12051fe64b989f3e708459a133
in repository https://gitbox.apache.org/repos/asf/datafusion.git

commit 9f81b78aadafced613c09e730312aa1f390039d9
Author: Lía Adriana <li...@datadoghq.com>
AuthorDate: Mon Oct 5 10:02:53 2026 +0000

    docs: mention output_rows_skew on partitioned operators in explain-usage (#26048)
    
    Follow-up to #25977.
    
    ## Which issue does this PR close?
    
    <!--
    We generally require a GitHub issue to be filed for all bug fixes and
    enhancements and this helps us generate change logs for our releases.
    You can link an issue to this PR using the GitHub syntax. For example
    `Closes #123` indicates that this PR will close issue #123.
    -->
    
    - Closes #.
    
    ## Rationale for this change
    
    now output_rows_skew is used in other operators than DataSourceExec, but
    I forgot to add it to the doc
    
    ## What changes are included in this PR?
    
    Small comment in the doc mentioning output_rows_skew is also used for
    other operators than DataSourceExec(parquet)
    
    ## What is the testing strategy for this PR?
    
    <!--
    We typically require tests for all PRs in order to:
    1. Prevent the code from being accidentally broken by subsequent changes
    2. Serve as another way to document the expected behavior of the code
    
    Briefly describe how this PR is tested, and point to the specific tests
    you added. For example: 'This new feature is covered by the
    `sqllogictest` cases added in `foo.slt`'.
    
    If this PR does not add tests, explain why. For example, if the change
    is already covered by existing tests, please mention it.
    
    You should also check the `codecov` bot reply on this PR to confirm the
    changed code is exercised.
    -->
    
    ## Are there any user-facing changes?
    
    Just doc.
---
 docs/source/user-guide/explain-usage.md | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/docs/source/user-guide/explain-usage.md b/docs/source/user-guide/explain-usage.md
index 6654ca3e92..83ff5c3e54 100644
--- a/docs/source/user-guide/explain-usage.md
+++ b/docs/source/user-guide/explain-usage.md
@@ -243,6 +243,12 @@ When predicate pushdown is enabled, `DataSourceExec` with `ParquetSource` gains
 - `row_pushdown_eval_time`: time spent evaluating row-level filters
 - `page_index_eval_time`: time required to evaluate the page index filters
 
+`output_rows_skew` is also reported by operators that execute in multiple
+partitions: `RepartitionExec`, `HashJoinExec`, `AggregateExec`,
+`BoundedWindowAggExec` and `WindowAggExec`. It shows how evenly their output
+rows are spread across partitions, which helps spot data skew (for example, a
+hot join or grouping key). With a single partition the skew is always `0%`.
+
 ## Postgres-style `EXPLAIN (...)` options
 
 In addition to the legacy keyword form (`EXPLAIN ANALYZE VERBOSE FORMAT tree SELECT ...`),


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datafusion.apache.org
For additional commands, e-mail: commits-help@datafusion.apache.org