Skip to content

Commit

Permalink
[Fix](s3FileWriter) fix bytes_appended bug for s3_file_writer (#21348)
Browse files Browse the repository at this point in the history
  • Loading branch information
airborne12 authored and xiaokang committed Jun 29, 2023
1 parent 31c4f2c commit 7841479
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions be/src/io/fs/s3_file_writer.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,6 @@ class S3FileWriter final : public FileWriter {
return Status::NotSupported("not support");
}

size_t bytes_appended() const { return _bytes_appended; }

int64_t upload_cost_ms() const { return *_upload_cost_ms; }

private:
Expand Down Expand Up @@ -115,7 +113,6 @@ class S3FileWriter final : public FileWriter {

std::shared_ptr<Aws::S3::S3Client> _client;
std::string _upload_id;
size_t _bytes_appended {0};

// Current Part Num for CompletedPart
int _cur_part_num = 1;
Expand Down

0 comments on commit 7841479

Please sign in to comment.