Skip to content

Commit 18182e4

Browse files
committed
fix typo
1 parent 6e602e0 commit 18182e4

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/paimon/format/avro/avro_direct_encoder.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ Status AvroDirectEncoder::EncodeArrowToAvro(const ::avro::NodePtr& avro_node,
289289
element_node->leaves() != 2)) {
290290
return Status::Invalid(
291291
fmt::format("Expected AVRO_RECORD for map key-value pair, got {}",
292-
AvroUtils::ToString(avro_node)));
292+
AvroUtils::ToString(element_node)));
293293
}
294294

295295
const auto& map_array =

src/paimon/format/lance/lance_format_reader_writer_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ TEST_F(LanceFileReaderWriterTest, TestReachTargetSize) {
387387
}
388388
ASSERT_OK(writer->Flush());
389389
ASSERT_OK(writer->Finish());
390-
// test reach targe size
390+
// test reach target size
391391
ASSERT_TRUE(reach_target_size);
392392
auto fs = std::make_shared<LocalFileSystem>();
393393
ASSERT_OK_AND_ASSIGN(auto file_status, fs->GetFileStatus(file_path));

0 commit comments

Comments
 (0)