mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 18:12:02 +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