Open framlog opened 4 months ago
Clickhouse returns only the a single block with num_rows == 0 when do SELECT over an empty table.
num_rows == 0
SELECT
In such case, QueryResult::stream_blocks skips the first block, which's the only block containing infos.
QueryResult::stream_blocks
The test passes because that fetch_all doesn't skip the first block.
fetch_all
Clickhouse returns only the a single block with
num_rows == 0
when doSELECT
over an empty table.In such case,
QueryResult::stream_blocks
skips the first block, which's the only block containing infos.The test passes because that
fetch_all
doesn't skip the first block.