Skip to content

Discussion: should set FileScanConfig's batch_size to min(batch_size, limit) #18684

@niebayes

Description

@niebayes

If a limit is set for FileScanConfig, I wonder if it's reasonable to also set the batch_size to min(batch_size, limit), which might reduces the number of rows being scanned and decoded.

Originally posted apache/arrow-rs#8836

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