Skip to content

Commit b7e3d05

Browse files
author
nullccxsy
committed
fix: correct parameter order in AvroWriter initialization
1 parent 8eaad5c commit b7e3d05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/avro_test.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ class AvroReaderTest : public TempFileTestBase {
125125

126126
auto writer_result = WriterFactoryRegistry::Open(
127127
FileFormatType::kAvro,
128-
{.path = temp_avro_file_, .io = file_io_, .schema = schema});
128+
{.path = temp_avro_file_, .schema = schema, .io = file_io_});
129129
ASSERT_TRUE(writer_result.has_value());
130130
auto writer = std::move(writer_result.value());
131131
ASSERT_THAT(writer->Write(arrow_array), IsOk());

0 commit comments

Comments
 (0)