Skip to content

Conversation

Tmonster
Copy link
Contributor

GetFileHandle() bypasses a check to validate which tells the caching_file_system to prefer file data in cache. By calling CanSeek() first there is a check to the cache if the file is in cache and if seeking is possible. This avoids an unnecessary head request for full file reads (like avro on Iceberg).

@Tmonster Tmonster requested a review from lnkuiper May 28, 2025 13:40
Copy link
Contributor

@lnkuiper lnkuiper left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@Mytherin Mytherin merged commit 95cc516 into duckdb:v1.3-ossivalis May 28, 2025
50 checks passed
krlmlr added a commit to duckdb/duckdb-r that referenced this pull request Jun 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants