mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 17:41:59 +00:00
Fix readign from fd for ORCBlockInputFormat.
This commit is contained in:
parent
8d58ce532a
commit
76495124cd
@ -28,7 +28,7 @@ Chunk ORCBlockInputFormat::generate()
|
||||
Chunk res;
|
||||
const Block & header = getPort().getHeader();
|
||||
|
||||
if (in.eof())
|
||||
if (file_reader)
|
||||
return res;
|
||||
|
||||
arrow::Status open_status = arrow::adapters::orc::ORCFileReader::Open(asArrowFile(in), arrow::default_memory_pool(), &file_reader);
|
||||
|
Loading…
Reference in New Issue
Block a user