Skip to content

[C++] Incomplete buffer reads in arrow::io::ReadableFile should exactly truncate returned buffer #16681

@asfimport

Description

@asfimport

Currently the buffer is only being truncated if it is sufficiently small:

https://github.com/apache/arrow/blob/master/cpp/src/arrow/io/file.cc#L416

Reporter: Wes McKinney / @wesm
Assignee: Wes McKinney / @wesm

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

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions