mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 00:22:29 +00:00
fix stateless tests of 01034_JSONCompactEachRow
This commit is contained in:
parent
1c76ea056c
commit
48f7fc54ad
@ -119,6 +119,8 @@ Chunk IRowInputFormat::read()
|
||||
|
||||
auto chunk_offset = [&]() -> size_t
|
||||
{
|
||||
if (total_rows == 0)
|
||||
return getDataOffsetMaybeCompressed(getReadBuffer());
|
||||
return getDataOffsetMaybeCompressed(getReadBuffer()) + getReadBuffer().offset();
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user