1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
// SPDX-License-Identifier: Apache-2.0
//! The declared shape of a timeseries collection, propagated from the
//! catalog to the Data Plane on collection registration.
/// A timeseries collection's DDL-declared column list plus its designated
/// `TIME_KEY` column.
///
/// This is the authority for the collection's storage layout. Without it the
/// Data Plane would have to derive a schema from whatever the first ingested
/// batch happened to contain, which cannot recover the declared column order,
/// the declared types, or — critically — which column is the time key. Every
/// path that needs to know "which column carries this collection's time"
/// reads [`Self::time_key`]; none may guess it from a column name.