Skip to content

Commit 9f3751c

Browse files
committed
Fix compiler errors
1 parent 2858655 commit 9f3751c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

cpp/src/parquet/arrow/arrow_schema_test.cc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1786,7 +1786,7 @@ TEST_F(TestConvertArrowSchema, ParquetTimeAdjustedToUTC) {
17861786
LogicalType::Time(write_time_utc_adjusted, LogicalType::TimeUnit::MICROS), ParquetType::INT64, -1},
17871787
{"time64(nanosecond)", ::arrow::time64(::arrow::TimeUnit::NANO),
17881788
LogicalType::Time(write_time_utc_adjusted, LogicalType::TimeUnit::NANOS), ParquetType::INT64, -1}
1789-
}
1789+
};
17901790
return cases;
17911791
};
17921792

@@ -1800,7 +1800,7 @@ TEST_F(TestConvertArrowSchema, ParquetTimeAdjustedToUTC) {
18001800
c.physical_length));
18011801
}
18021802
return std::make_pair(arrow_fields, parquet_fields);
1803-
}
1803+
};
18041804

18051805

18061806
ArrowWriterProperties::Builder builder;
@@ -1814,8 +1814,8 @@ TEST_F(TestConvertArrowSchema, ParquetTimeAdjustedToUTC) {
18141814

18151815
arrow_writer_properties = builder.disable_time_adjusted_to_utc()->build();
18161816
EXPECT_FALSE(arrow_writer_properties->write_time_adjusted_to_utc());
1817-
auto cases = make_cases_fcn(false);
1818-
auto arrow_parquet_fields = make_fields_schema_fcn(cases);
1817+
cases = make_cases_fcn(false);
1818+
arrow_parquet_fields = make_fields_schema_fcn(cases);
18191819
ASSERT_OK(ConvertSchema(arrow_parquet_fields.first, arrow_writer_properties));
18201820
CheckFlatSchema(arrow_parquet_fields.second);
18211821
}

0 commit comments

Comments
 (0)