@@ -63,37 +63,37 @@ MemorySlice BTreeFileFooter::Write(const std::shared_ptr<BTreeFileFooter>& foote
6363}
6464
6565MemorySlice 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
0 commit comments