influxdb/mutable_batch/src
Carol (Nichols || Goulding) efb964c390
feat: Enforce table column limits from the schema cache (#5819)
* fix: Avoid some allocations by collecting instead of inserting into a vec

* refactor: Encode that adding columns is for one table at a time

* test: Add another test of column limits

* test: Add below/above limit tests for create_or_get_many

* fix: Explicitly DO NOT check column limits when inserting many columns

* feat: Cache the max_columns_per_table on the NamespaceSchema

* feat: Add a function to validate column limits in-memory

* fix: Provide more useful information when over column limits

* fix: Swap types to remove intermediate allocation

* docs: Explain the interactions of the cache and the column limits

* test: Actually set up test that showcases column limit race condition

* fix: Allow writing to existing columns even if table is over column limit

Co-authored-by: Dom <dom@itsallbroken.com>
2022-10-14 11:34:17 +00:00
..
payload refactor: always generate a partition key 2022-06-15 15:38:02 +01:00
column.rs fix: Use Self instead of unnecessary structure name repetition 2022-08-11 15:21:02 -04:00
lib.rs feat: Enforce table column limits from the schema cache (#5819) 2022-10-14 11:34:17 +00:00
payload.rs refactor: emit PartitionKey from partitioner 2022-06-15 15:38:02 +01:00
writer.rs fix: Tell which column failed typecheck (#5220) 2022-07-27 08:16:15 +00:00