Skip to content

Commit 319d889

Browse files
stylecheck
1 parent 5f1981f commit 319d889

8 files changed

Lines changed: 24 additions & 24 deletions

src/paimon/common/global_index/btree/btree_file_footer.cpp

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -63,37 +63,37 @@ MemorySlice BTreeFileFooter::Write(const std::shared_ptr<BTreeFileFooter>& foote
6363
}
6464

6565
MemorySlice BTreeFileFooter::Write(const std::shared_ptr<BTreeFileFooter>& footer,
66-
MemorySliceOutput& ouput) {
66+
MemorySliceOutput& output) {
6767
// write bloom filter and index handles
6868
auto bloom_filter_handle = footer->GetBloomFilterHandle();
6969
if (!bloom_filter_handle) {
70-
ouput.WriteValue(static_cast<int64_t>(0));
71-
ouput.WriteValue(static_cast<int32_t>(0));
72-
ouput.WriteValue(static_cast<int64_t>(0));
70+
output.WriteValue(static_cast<int64_t>(0));
71+
output.WriteValue(static_cast<int32_t>(0));
72+
output.WriteValue(static_cast<int64_t>(0));
7373
} else {
74-
ouput.WriteValue(bloom_filter_handle->Offset());
75-
ouput.WriteValue(bloom_filter_handle->Size());
76-
ouput.WriteValue(bloom_filter_handle->ExpectedEntries());
74+
output.WriteValue(bloom_filter_handle->Offset());
75+
output.WriteValue(bloom_filter_handle->Size());
76+
output.WriteValue(bloom_filter_handle->ExpectedEntries());
7777
}
7878

7979
auto index_block_handle = footer->GetIndexBlockHandle();
80-
ouput.WriteValue(index_block_handle->Offset());
81-
ouput.WriteValue(index_block_handle->Size());
80+
output.WriteValue(index_block_handle->Offset());
81+
output.WriteValue(index_block_handle->Size());
8282

8383
auto null_bitmap_handle = footer->GetNullBitmapHandle();
8484
if (!null_bitmap_handle) {
85-
ouput.WriteValue(static_cast<int64_t>(0));
86-
ouput.WriteValue(static_cast<int32_t>(0));
85+
output.WriteValue(static_cast<int64_t>(0));
86+
output.WriteValue(static_cast<int32_t>(0));
8787
} else {
88-
ouput.WriteValue(null_bitmap_handle->Offset());
89-
ouput.WriteValue(null_bitmap_handle->Size());
88+
output.WriteValue(null_bitmap_handle->Offset());
89+
output.WriteValue(null_bitmap_handle->Size());
9090
}
9191

9292
// write version and magic number
93-
ouput.WriteValue(footer->GetVersion());
94-
ouput.WriteValue(MAGIC_NUMBER);
93+
output.WriteValue(footer->GetVersion());
94+
output.WriteValue(MAGIC_NUMBER);
9595

96-
return ouput.ToSlice();
96+
return output.ToSlice();
9797
}
9898

99-
} // namespace paimon
99+
} // namespace paimon

src/paimon/common/global_index/btree/btree_file_footer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class BTreeFileFooter {
3030
static Result<std::shared_ptr<BTreeFileFooter>> Read(MemorySliceInput& input);
3131
static MemorySlice Write(const std::shared_ptr<BTreeFileFooter>& footer, MemoryPool* pool);
3232
static MemorySlice Write(const std::shared_ptr<BTreeFileFooter>& footer,
33-
MemorySliceOutput& ouput);
33+
MemorySliceOutput& output);
3434

3535
public:
3636
BTreeFileFooter(const std::shared_ptr<BloomFilterHandle>& bloom_filter_handle,

src/paimon/common/global_index/btree/btree_global_index_writer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,4 +319,4 @@ Result<std::vector<GlobalIndexIOMeta>> BTreeGlobalIndexWriter::Finish() {
319319
return std::vector<GlobalIndexIOMeta>{io_meta};
320320
}
321321

322-
} // namespace paimon
322+
} // namespace paimon

src/paimon/common/global_index/btree/btree_global_indexer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ Result<std::shared_ptr<RoaringNavigableMap64>> BTreeGlobalIndexer::ReadNullBitma
330330
} catch (const std::exception& e) {
331331
return Status::Invalid(
332332
"Fail to deserialize null bitmap but crc check passed, "
333-
"this means the ser/de algorithms not match: " +
333+
"this means the serialization/deserialization algorithms not match: " +
334334
std::string(e.what()));
335335
}
336336

src/paimon/common/global_index/btree/btree_global_indexer_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,4 +238,4 @@ TEST_F(BTreeGlobalIndexerTest, VisitMethodsConcept) {
238238
SUCCEED();
239239
}
240240

241-
} // namespace paimon::test
241+
} // namespace paimon::test

src/paimon/common/global_index/btree/btree_index_meta_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,4 +212,4 @@ TEST_F(BTreeIndexMetaTest, SerializeDeserializeBinaryKeys) {
212212
EXPECT_EQ(std::string(deserialized_last->data(), deserialized_last->size()), binary_last);
213213
}
214214

215-
} // namespace paimon::test
215+
} // namespace paimon::test

src/paimon/common/lookup/sort/sort_lookup_store_footer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,4 @@ class PAIMON_EXPORT SortLookupStoreFooter {
5858
BlockHandle index_block_handle_;
5959
std::shared_ptr<BloomFilterHandle> bloom_filter_handle_;
6060
};
61-
} // namespace paimon
61+
} // namespace paimon

src/paimon/common/utils/roaring_navigable_map64_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,4 +110,4 @@ TEST_F(RoaringNavigableMap64Test, testAddRangeLargeValues) {
110110
EXPECT_EQ(values[100], end);
111111
}
112112

113-
} // namespace paimon
113+
} // namespace paimon

0 commit comments

Comments
 (0)