Skip to content

Commit a70efc1

Browse files
committed
fix: fix linux build
1 parent ceafdf5 commit a70efc1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

programs/local/ArrowStreamSource.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ ArrowStreamSource::ArrowStreamSource(
1515
const Block & sample_block_,
1616
CHDB::ArrowTableReaderPtr arrow_table_reader_,
1717
size_t stream_index_)
18-
: ISource(sample_block_.cloneEmpty())
18+
: ISource(std::make_shared<Block>(sample_block_.cloneEmpty()))
1919
, arrow_table_reader(arrow_table_reader_)
2020
, sample_block(sample_block_)
2121
, stream_index(stream_index_)

0 commit comments

Comments
 (0)