siddiqueirshad opened a new pull request, #20081:
URL: https://github.com/apache/pinot/pull/20081

   ### Description
   \ParquetAvroRecordReader.next()\ previously caught only \IOException\ when 
prefetching the next record via \_parquetReader.read()\.
   In \parquet-hadoop\, unchecked exceptions such as \ParquetDecodingException\ 
or runtime failures can be thrown during record reading. When these escaped 
without being classified as \RecordFetchException\, \SegmentMapper\ treated 
them as parse errors, bypassing the configured 
\maxConsecutiveRecordFetchFailuresAllowed\ threshold when 
\continueOnError=true\.
   
   This PR:
   - Catches \Exception\ around \_parquetReader.read()\ in 
\ParquetAvroRecordReader.next()\, aligning with \ParquetNativeRecordReader\'s 
behavior.
   - Wraps unchecked read failures in \RecordFetchException\ while preserving 
extraction errors as parse errors.
   
   Closes #20065


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to