From 4dcd3cc4f676c0f7aca181a18e8e9fcc2f41b901 Mon Sep 17 00:00:00 2001 From: flynn Date: Wed, 18 Jan 2023 08:46:06 +0000 Subject: [PATCH] fix style --- src/Processors/Formats/Impl/AvroRowInputFormat.h | 4 ++-- src/Storages/StorageIceberg.cpp | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/Processors/Formats/Impl/AvroRowInputFormat.h b/src/Processors/Formats/Impl/AvroRowInputFormat.h index cef792da546..d2b4b924b04 100644 --- a/src/Processors/Formats/Impl/AvroRowInputFormat.h +++ b/src/Processors/Formats/Impl/AvroRowInputFormat.h @@ -37,9 +37,9 @@ public: void backup(size_t len) override; - void skip(size_t len) override; + void skip(size_t len) override; - size_t byteCount() const override; + size_t byteCount() const override; private: ReadBuffer & in; diff --git a/src/Storages/StorageIceberg.cpp b/src/Storages/StorageIceberg.cpp index aa02e920abf..8a71f2c13a5 100644 --- a/src/Storages/StorageIceberg.cpp +++ b/src/Storages/StorageIceberg.cpp @@ -42,7 +42,6 @@ namespace ErrorCodes { extern const int S3_ERROR; extern const int NUMBER_OF_ARGUMENTS_DOESNT_MATCH; - extern const int INCORRECT_DATA; extern const int FILE_DOESNT_EXIST; extern const int ILLEGAL_COLUMN; } @@ -230,7 +229,7 @@ std::vector IcebergMetaParser::getFilesForRead(const std::vector for (size_t i = 0; i < col_size; ++i) { auto file_path = str_col->getDataAt(i).toView(); - /// We just obtain the parition/file name + /// We just obtain the partition/file name std::filesystem::path path(file_path); keys.emplace_back(path.parent_path().filename() / path.filename()); }