From 84200be7d26c34ce4ddc4372991bc49d6d36d3d1 Mon Sep 17 00:00:00 2001 From: Kruglov Pavel <48961922+Avogar@users.noreply.github.com> Date: Mon, 23 Jan 2023 15:31:07 +0100 Subject: [PATCH] Better comment --- src/Processors/Formats/Impl/ArrowBufferedStreams.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Processors/Formats/Impl/ArrowBufferedStreams.h b/src/Processors/Formats/Impl/ArrowBufferedStreams.h index a75f32f41e0..cbabecf9049 100644 --- a/src/Processors/Formats/Impl/ArrowBufferedStreams.h +++ b/src/Processors/Formats/Impl/ArrowBufferedStreams.h @@ -63,6 +63,8 @@ public: arrow::Result> Read(int64_t nbytes) override; /// Override async reading to avoid using internal arrow thread pool. + /// In our code we don't use async reading, so implementation is sync, + /// we just call ReadAt and return future with rady value. arrow::Future> ReadAsync(const arrow::io::IOContext&, int64_t position, int64_t nbytes) override; arrow::Status Seek(int64_t position) override;