PR #272 review follow-up for views.go: #272 (comment)
Eliminate per-statement glob/footer work for unrelated retained batches and bind selected files newest first under the existing publication pin. Span metadata has start bounds; logs/metrics have ingest bounds only. Obtain actual per-signal event-time bounds without pruning by ingest time, and preserve arbitrary SQL's complete approved snapshot.
Validation: compare pruned and full scans across all three signals, late/future/out-of-order timestamps, zero/negative instants, nanosecond and partial windows, reopen, compaction/retention, and canceled readers. Measure actual files/row groups read and newest-first top-N behavior on a multi-age dataset.
Implementation is authorized in PR #272; this issue tracks the fix and its validation.
PR #272 review follow-up for
views.go: #272 (comment)Eliminate per-statement glob/footer work for unrelated retained batches and bind selected files newest first under the existing publication pin. Span metadata has start bounds; logs/metrics have ingest bounds only. Obtain actual per-signal event-time bounds without pruning by ingest time, and preserve arbitrary SQL's complete approved snapshot.
Validation: compare pruned and full scans across all three signals, late/future/out-of-order timestamps, zero/negative instants, nanosecond and partial windows, reopen, compaction/retention, and canceled readers. Measure actual files/row groups read and newest-first top-N behavior on a multi-age dataset.
Implementation is authorized in PR #272; this issue tracks the fix and its validation.