Skip to content

[WIP] HTTPMetadataCache should also store OpenFileExtendedInfo #64

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Tmonster
Copy link
Contributor

If there is extended info, options like "validate_external_cache" can be read from any thread.

This is WIP because the extended_info is still a shared pointer between the HTTPMetadataCache and HTTPFileHandle etc. It's still possible to have two handles reading from the same memory. The problem with that is what happens if the extended_options object becomes very big? (We will probably deal with that later then).

Eventually there may be extra options, one I can see is a "direct_get" option, which will translate to not executing a head request and executing a GET request. This will help with Lakehouse formats (i.e Iceberg) where we don't want to execute a HEAD request if we KNOW we are still going to execute a GET request.

Tmonster added 2 commits May 26, 2025 14:53
…tries. Then it should be easier to check any extended info in the future.'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant