Skip to content

Commit

Permalink
Add note about ObsinnObs and Datum
Browse files Browse the repository at this point in the history
  • Loading branch information
Lun4m committed Sep 30, 2024
1 parent 8092920 commit 8d3dc2e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ingestion/src/kldata.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ pub struct ObsinnChunk<'a> {
pub struct ObsinnObs<'a> {
// TODO: this timestamp is shared by all obs in the row, maybe we should have
// a Vec<ObsType> here and remove the Vec<ObsinnObs> from ObsinnChunk
// NOTE: this struct maps to Datum, the type used during insertion that should take into
// account all possible sources. While the proposed TODO would perfectly fit Obsinn, we would
// also need to change Datum accordingly, which might not work well for other sources.
timestamp: DateTime<Utc>,
id: ObsinnId,
value: ObsType<'a>,
Expand Down

0 comments on commit 8d3dc2e

Please sign in to comment.