Repository navigation
Conversation
…fetch - Staging is read only in Mode::All, and the in-memory buffer is kept only in that mode. - staging_mem_scan applies Exact filters itself. MemTable ignores scan filters and Exact bounds are not re-applied above the scan, so every buffered row was returned before. - staging_filters pushes a minute-aligned end bound near now (current or previous minute) to the next minute. The query end is truncated to the minute, so rows from the current minute were dropped. This applies to the staging mem and parquet scans only. - extract_timestamp_bound returns None on an out-of-range millisecond literal instead of panicking. - Remove the legacy Flight ingestor fetch (send_to_ingester, run_do_get_rpc, append_temporary_events) and the staging clear in do_get.
- Add staging_arrow_exec to stream_schema_provider. It scans .arrows and in-progress .arrows.part files with one partition per file. Each batch is adapted to the table schema and batches that don't fit are skipped. A torn tail ends the read and a missing file yields nothing. The predicate is applied before projection. - Standalone (Mode::All) staging queries read arrow files through staging_arrow_exec, using the rounded staging_filters predicate. - Remove the in-memory staging writer: MemWriter, MutableBuffer, ENABLE_MEMORY_STAGING, Stream::recordbatches_cloned and Stream::clear. Writer now holds only the disk writers. - Remove staging_mem_scan and reversed_mem_table.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #XXXX.
Description
This PR has: