fix style

This commit is contained in:
flynn 2023-01-18 08:46:06 +00:00
parent 2fb32dc56c
commit 4dcd3cc4f6
2 changed files with 3 additions and 4 deletions

View File

@ -37,9 +37,9 @@ public:
void backup(size_t len) override; 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: private:
ReadBuffer & in; ReadBuffer & in;

View File

@ -42,7 +42,6 @@ namespace ErrorCodes
{ {
extern const int S3_ERROR; extern const int S3_ERROR;
extern const int NUMBER_OF_ARGUMENTS_DOESNT_MATCH; extern const int NUMBER_OF_ARGUMENTS_DOESNT_MATCH;
extern const int INCORRECT_DATA;
extern const int FILE_DOESNT_EXIST; extern const int FILE_DOESNT_EXIST;
extern const int ILLEGAL_COLUMN; extern const int ILLEGAL_COLUMN;
} }
@ -230,7 +229,7 @@ std::vector<String> IcebergMetaParser::getFilesForRead(const std::vector<String>
for (size_t i = 0; i < col_size; ++i) for (size_t i = 0; i < col_size; ++i)
{ {
auto file_path = str_col->getDataAt(i).toView(); 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); std::filesystem::path path(file_path);
keys.emplace_back(path.parent_path().filename() / path.filename()); keys.emplace_back(path.parent_path().filename() / path.filename());
} }