Skip to content

Conversation

@rjzamora
Copy link
Member

Description

We previously print row-count statistics for explain_query(..., physical=False), only. This PR updates explain_query to print row-count statistics in more cases.

The immediate goal here is to make it easier to understand how estimated row-counts relate the the physical plan.

In follow-up work, I'd like to add a feature to print the physical plan after execution (including real row-count statistics).

Checklist

  • I am familiar with the Contributing Guidelines.
  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.

@rjzamora rjzamora self-assigned this Jan 14, 2026
@rjzamora rjzamora added feature request New feature or request 2 - In Progress Currently a work in progress non-breaking Non-breaking change labels Jan 14, 2026
@copy-pr-bot
Copy link

copy-pr-bot bot commented Jan 14, 2026

Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

@github-actions github-actions bot added Python Affects Python cuDF API. cudf-polars Issues specific to cudf-polars labels Jan 14, 2026
@GPUtester GPUtester moved this to In Progress in cuDF Python Jan 14, 2026
@rjzamora rjzamora changed the title Add row-count statistics to explain_query(..., physical=True) [WIP] Add row-count statistics to explain_query(..., physical=True) Jan 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2 - In Progress Currently a work in progress cudf-polars Issues specific to cudf-polars feature request New feature or request non-breaking Non-breaking change Python Affects Python cuDF API.

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

1 participant