Skip to content

[PERF]: Avoid redundant HTTP HEAD requests in cudf-polars by including known file size in SourceInfo #22753

Description

@TomAugspurger

#22739 adds a feature to libcudf to specify a known file size, which lets kvikio skip one or two HTTP requests.

To use this in cudf-polars, we'd need to first list the size of the objects (or get them from polars, if/when it provides them) and pass that in when building the SourceInfo. This applies to both read_parquet_metadata and read_parquet.

109ad43 shows how it's done.

Blocked by #22739 and #22700.

Metadata

Metadata

Assignees

No one assigned

    Labels

    PerformancePerformance related issuecuIOcuIO issuecudf-polarsIssues specific to cudf-polarsimprovementImprovement / enhancement to an existing functionlibcudfAffects libcudf (C++/CUDA) code.

    Type

    No type

    Projects

    Status
    Done
    Status
    No status
    Status
    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions