(converter) Swallow errors in parquet data stream

This commit is contained in:
Viktor Lofgren 2023-12-28 19:45:35 +01:00
parent ff7d1a250e
commit bcecc93e39

View File

@ -46,7 +46,13 @@ public class ParquetSerializableCrawlDataStream implements AutoCloseable, Serial
createDomainRecord(nextRecord);
wroteDomainRecord = true;
}
createDocumentRecord(nextRecord);
try {
createDocumentRecord(nextRecord);
}
catch (Exception ex) {
logger.error("Failed to create document record", ex);
}
}
return !nextQ.isEmpty();
}