skip to next one before throw parsing exception

This commit is contained in:
Peng Jian 2021-03-22 19:42:25 +08:00 committed by root
parent ec54f2a361
commit cf19ab76dc

View File

@ -108,6 +108,12 @@ Chunk IRowInputFormat::generate()
if (!isParseError(e.code()))
throw;
if (params.sync_after_error)
{
syncAfterError();
throw;
}
if (params.allow_errors_num == 0 && params.allow_errors_ratio == 0)
throw;