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

   ## Description
   
   Native re-ingestion can rebuild segments with different ingestion semantics 
from live consumption, including missing table-level NULL handling and 
aggregation settings, incorrect stream/partition selection, and different 
row-error policies.
   
   This PR shares record processing and initialization between live consumption 
and native re-ingestion:
   
   - Reuse schema preparation, decoder initialization, partition configuration, 
and record processing.
   - Apply table-level NULL handling, aggregation, and segment creation-time 
defaults during reconstruction.
   - Select the correct stream and raw partition, using the full stream 
partition count.
   - Honor `stopOnDecodeError`; skip and count transform/index failures 
consistently with live consumption.
   - Log per-replay processing statistics separately from live ingestion 
metrics.
   
   Live consumption retains its existing error policies and metrics.
   
   Extracted from [#20220](https://github.com/apache/pinot/pull/20220) for 
independent review of the shared ingestion changes.
   
   ## Testing
   
   - Added native recovery tests covering NULL handling, aggregation, default 
timestamps, stream/partition selection, and error handling.
   - Added shared processor tests and exercised existing realtime manager 
regressions.
   - Pre-rebase validation: 166 targeted tests passed, along with formatting, 
Checkstyle, and license checks.
   - Local validation against the rebased revision is pending.
   - Manual stress tests were not performed.


-- 
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