Use in.count() instead of pos

This commit is contained in:
Valentin Alexeev 2023-06-02 17:14:21 +02:00
parent da4d55cdaf
commit 516cda94ee

View File

@ -47,7 +47,7 @@ namespace JSONUtils
throw ParsingException(ErrorCodes::INCORRECT_DATA,
"Size of JSON object at position {} is extremely large. Expected not greater than {} bytes, but current is {} bytes per row. "
"Increase the value setting 'min_chunk_bytes_for_parallel_parsing' or check your data manually, "
"most likely JSON is malformed", pos, min_bytes, current_object_size);
"most likely JSON is malformed", in.count(), min_bytes, current_object_size);
if (quotes)
{