influxdb/mutable_batch/tests
Dom Dwyer 47214ec9a0
fix: prevent panics in partitioning logic
Changes the partitioning logic to be fallible. This prevents an invalid
partition template from causing a panic, previously possible through two
known code paths:

    * TagValue formatter referencing a non-tag column
    * Time formatter using an invalid strftime format string

If either occurs, the write attempt is now aborted and an error returned
to the user with a HTTP 500 status code.

Additionally unexpected partitioner errors now map to a catch-all error
instead of panicking.
2023-06-01 17:44:44 +02:00
..
extend.rs refactor: Rename `schema::selection::Selection` to `schema::projection::Projection` (#6037) 2022-11-02 18:15:04 +00:00
extend_range.rs chore: Update DataFusion and `arrow` / `arrow-flight` / `parquet` to `33.0.0` (#7045) 2023-02-22 21:24:20 +00:00
writer.rs chore: Upgrade to Rust 1.68 (#7175) 2023-03-12 13:22:20 +00:00
writer_drop.rs refactor: Rename `schema::selection::Selection` to `schema::projection::Projection` (#6037) 2022-11-02 18:15:04 +00:00
writer_fuzz.rs fix: prevent panics in partitioning logic 2023-06-01 17:44:44 +02:00