Skip to content

Commit b054054

Browse files
hiroyuki-satokou
andauthored
Update cpp/src/parquet/arrow/arrow_reader_writer_test.cc
Co-authored-by: Sutou Kouhei <kou@cozmixng.org>
1 parent bfc604d commit b054054

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

cpp/src/parquet/arrow/arrow_reader_writer_test.cc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4168,8 +4168,7 @@ void TryReadDataFile(const std::string& path,
41684168
auto reader_result = FileReader::Make(pool, ParquetFileReader::OpenFile(path, false));
41694169
if (reader_result.ok()) {
41704170
std::shared_ptr<::arrow::Table> table;
4171-
auto arrow_reader = result->get();
4172-
s = arrow_reader->ReadTable(&table);
4171+
s = (*reader_result)->ReadTable(&table);
41734172
}
41744173

41754174
ASSERT_EQ(s.code(), expected_code)

0 commit comments

Comments
 (0)