Skip to content

[C++][Dataset] Allow setting FragmentReadahead to 0 in ScannerBuilder #28861

@asfimport

Description

@asfimport

I have an application where I need to set fragment readahead to 0. But, looks like for some reason the ScannerBuilder does not allow setting the fragment readahead to 0 [1]. It would be very helpful to know why it is that way and if a PR lifting that restriction would be accepted because a docstring mentions that users can set fragment readahead to 0 if they want [2].

[1]https://github.com/apache/arrow/blob/master/cpp/src/arrow/dataset/scanner.cc#L864
[2]

/// Set to 0 to disable fragment readahead

Reporter: Jayjeet Chakraborty / @JayjeetAtGithub

Related issues:

Note: This issue was originally created as ARROW-13161. Please see the migration documentation for further details.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions