From ad0ed8fa4d9b705d4d2f0cc05b76d783a10f4231 Mon Sep 17 00:00:00 2001 From: Thomas Newton Date: Mon, 20 Nov 2023 18:15:07 +0000 Subject: [PATCH] Lint --- cpp/src/arrow/filesystem/azurefs.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cpp/src/arrow/filesystem/azurefs.cc b/cpp/src/arrow/filesystem/azurefs.cc index bc341b9cb1d1e..2e4dd6684d7b3 100644 --- a/cpp/src/arrow/filesystem/azurefs.cc +++ b/cpp/src/arrow/filesystem/azurefs.cc @@ -646,10 +646,10 @@ class ObjectAppendStream final : public io::OutputStream { const auto required_padding_digits = target_number_of_digits - std::min(target_number_of_digits, new_block_id.size()); new_block_id.insert(0, required_padding_digits, '0'); - // There is a small risk when appending to a blob created by another client that - // `new_block_id` may overlapping with an existing block id. Adding the `-arrow` - // suffix significantly reduces the risk, but does not 100% eliminate it. For example - // if the blob was previously created with one block, with id `00001-arrow` then the + // There is a small risk when appending to a blob created by another client that + // `new_block_id` may overlapping with an existing block id. Adding the `-arrow` + // suffix significantly reduces the risk, but does not 100% eliminate it. For example + // if the blob was previously created with one block, with id `00001-arrow` then the // next block we append will conflict with that, and cause corruption. new_block_id += "-arrow"; new_block_id = Azure::Core::Convert::Base64Encode(