Skip to content

batch_size() cache never works due to const OnceCell #2158

@yew1eb

Description

@yew1eb

batch_size() at datafusion-ext-commons/src/lib.rs:75 uses const CACHED_BATCH_S IZE: OnceCell<usize>, which creates a new OnceCell on every call — the cache never actually
hits.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions