Update src/Formats/JSONEachRowUtils.cpp

Co-authored-by: tavplubix <tavplubix@gmail.com>
This commit is contained in:
Nikita Mikhaylov 2020-10-06 17:07:37 +03:00 committed by nikitamikhaylov
parent 4ff1be6e25
commit d0bd4e97c9

View File

@ -69,7 +69,7 @@ bool fileSegmentationEngineJSONEachRowImpl(ReadBuffer & in, DB::Memory<> & memor
}
saveUpToPosition(in, memory, pos);
assert(*memory.data() == '{');
assert(*memory.data() == '{' || memory.size() == 0);
return loadAtPosition(in, memory, pos);
}