fix stateless tests of 01034_JSONCompactEachRow

This commit is contained in:
sakulali 2024-11-19 01:23:33 +08:00
parent 1c76ea056c
commit 48f7fc54ad

View File

@ -119,6 +119,8 @@ Chunk IRowInputFormat::read()
auto chunk_offset = [&]() -> size_t
{
if (total_rows == 0)
return getDataOffsetMaybeCompressed(getReadBuffer());
return getDataOffsetMaybeCompressed(getReadBuffer()) + getReadBuffer().offset();
};