Skip to content

Commit bfc604d

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 73e3196 commit bfc604d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cpp/src/parquet/arrow/arrow_reader_writer_test.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4165,8 +4165,8 @@ void TryReadDataFile(const std::string& path,
41654165
auto pool = ::arrow::default_memory_pool();
41664166

41674167
Status s;
4168-
Result result = FileReader::Make(pool, ParquetFileReader::OpenFile(path, false));
4169-
if (result.ok()) {
4168+
auto reader_result = FileReader::Make(pool, ParquetFileReader::OpenFile(path, false));
4169+
if (reader_result.ok()) {
41704170
std::shared_ptr<::arrow::Table> table;
41714171
auto arrow_reader = result->get();
41724172
s = arrow_reader->ReadTable(&table);

0 commit comments

Comments
 (0)