Skip to content

Fix fast-count optimization with hybrid scan - #23874

Open
TomAugspurger wants to merge 1 commit into
NVIDIA:mainfrom
TomAugspurger:tom/hybrid-scan-fast-select-count
Open

Fix fast-count optimization with hybrid scan#23874
TomAugspurger wants to merge 1 commit into
NVIDIA:mainfrom
TomAugspurger:tom/hybrid-scan-fast-select-count

Conversation

@TomAugspurger

Copy link
Copy Markdown
Contributor

Description

Noted in
#23677 (review), our fast count optimization for
pl.scan_parquet(...).select(pl.len()) currently errors when hybrid scan is enabled.

This fix (temporarily) disables it for the node where we have to disable metadata prefetching.

Checklist

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

cc @Matt711

@TomAugspurger TomAugspurger added bug Something isn't working non-breaking Non-breaking change cudf-polars Issues specific to cudf-polars labels Aug 28, 2026
@copy-pr-bot

copy-pr-bot Bot commented Aug 28, 2026

Copy link
Copy Markdown

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 the Python Affects Python cuDF API. label Aug 28, 2026
Noted in
NVIDIA#23677 (review),
our fast count optimization for
`pl.scan_parquet(...).select(pl.len())` currently errors when hybrid
scan is enabled.

This fix (temporarily) disables it for the node where we have to disable
metadata prefetching.
@TomAugspurger
TomAugspurger force-pushed the tom/hybrid-scan-fast-select-count branch from 8df3ff3 to 5d7994f Compare August 28, 2026 15:26
@TomAugspurger
TomAugspurger marked this pull request as ready for review August 28, 2026 15:26
@TomAugspurger
TomAugspurger requested a review from a team as a code owner August 28, 2026 15:26
@TomAugspurger
TomAugspurger requested a review from vyasr August 28, 2026 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working cudf-polars Issues specific to cudf-polars non-breaking Non-breaking change Python Affects Python cuDF API.

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

2 participants