Whitespaces

This commit is contained in:
Alexey Milovidov 2020-05-02 22:40:50 +03:00
parent db4c2352e1
commit f0e80fec68

View File

@ -44,7 +44,6 @@ Chunk ORCBlockInputFormat::generate()
std::unique_ptr<arrow::Buffer> local_buffer = std::make_unique<arrow::Buffer>(file_data); std::unique_ptr<arrow::Buffer> local_buffer = std::make_unique<arrow::Buffer>(file_data);
std::shared_ptr<arrow::io::RandomAccessFile> in_stream(new arrow::io::BufferReader(*local_buffer)); std::shared_ptr<arrow::io::RandomAccessFile> in_stream(new arrow::io::BufferReader(*local_buffer));
bool ok = arrow::adapters::orc::ORCFileReader::Open(in_stream, arrow::default_memory_pool(), bool ok = arrow::adapters::orc::ORCFileReader::Open(in_stream, arrow::default_memory_pool(),
@ -55,11 +54,13 @@ Chunk ORCBlockInputFormat::generate()
row_group_total = file_reader->NumberOfRows(); row_group_total = file_reader->NumberOfRows();
row_group_current = 0; row_group_current = 0;
} else }
else
return res; return res;
if (row_group_current >= row_group_total) if (row_group_current >= row_group_total)
return res; return res;
std::shared_ptr<arrow::Table> table; std::shared_ptr<arrow::Table> table;
arrow::Status read_status = file_reader->Read(&table); arrow::Status read_status = file_reader->Read(&table);