mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-19 14:11:58 +00:00
skip to next one before throw parsing exception
This commit is contained in:
parent
ec54f2a361
commit
cf19ab76dc
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user