Commits


Alexey Ozeritskiy authored and GitHub committed 16dbd98e8f5
GH-35007: [C++] Fix reading stdin (#35006) lost end of stream when reading in form of ```cpp auto input = std::shared_ptr<arrow::io::InputStream>(new arrow::io::StdinStream()); arrow::Result<int64_t> res; char buffer[16]; while (*(res = input->Read(sizeof(buffer), buffer)) != 0) { std::cerr << std::string_view(buffer, *res); } ``` the PR fix the issue * Closes: #35007 Lead-authored-by: Alexey Ozeritskiy <aozeritsky@gmail.com> Co-authored-by: Will Jones <willjones127@gmail.com> Signed-off-by: Will Jones <willjones127@gmail.com>