influxdb/ingester/src
Marco Neumann 16bd3e67c0
refactor: unify `apply_predicate_to_metadata` (#5030)
Instead of using some hand-rolled timestamp-based logic (or just
"unknown") all over the place, just use logic introduced in #5017.

This requires slightly improved table summaries within the querier that
at least has min/max for the timestamp column. For that, the former
`IngesterChunk`-specific `calculate_summary` method was extended to
`create_basic_summary` to include that data and is now also used by
`QuerierParquetChunk`.

Note: `QuerierRBChunk` already has detailled metrics that are provided
by the read buffer implementation.

Should we ever need even better pruning for `QuerierParquetChunk` (or
`IngesterChunk`) then we _only_ need add extra data to the table
summaries.

Closes #4976.

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-07-05 12:51:59 +00:00
..
data test: account for active writes when reporting readable status (#4782) 2022-06-10 12:59:09 +00:00
server test: test gRPC and stream flattening (#4873) 2022-06-16 11:44:59 +00:00
stream_handler refactor: Replace all uses of lazy_static with once_cell 2022-06-29 16:22:02 +02:00
compact.rs refactor: change level 1 to level 2 preparing for next design changes (#4954) 2022-06-29 14:08:58 +00:00
data.rs refactor: use IDs for `parquet_file.column_set` (#4965) 2022-06-30 15:08:41 +00:00
handler.rs refactor: use propagated partition key in ingester 2022-06-21 15:57:30 +01:00
job.rs fix: Remove or rescope dead code in ingester 2022-05-06 16:58:03 -04:00
lib.rs refactor: use propagated partition key in ingester 2022-06-21 15:57:30 +01:00
lifecycle.rs docs: improve docs for `persist_partition_size_threshold_bytes` / `INFLUXDB_IOX_PERSIST_PARTITION_SIZE_THRESHOLD_BYTES` (#4877) 2022-06-27 21:52:40 +00:00
poison.rs fix: Remove or rescope dead code in ingester 2022-05-06 16:58:03 -04:00
querier_handler.rs refactor: stream query results from ingester to querier (#4875) 2022-06-16 12:58:50 +00:00
query.rs refactor: unify `apply_predicate_to_metadata` (#5030) 2022-07-05 12:51:59 +00:00
server.rs fix: supervise and shutdown ingester background tasks (#3769) 2022-02-18 09:35:29 +00:00
test_util.rs refactor: change level 1 to level 2 preparing for next design changes (#4954) 2022-06-29 14:08:58 +00:00