Skip to content

Commit

Permalink
Don't need to track the type of timeline as metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
jleibs committed Dec 16, 2024
1 parent 9decb0e commit 8b08950
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 14 deletions.
9 changes: 4 additions & 5 deletions crates/store/re_chunk_store/src/dataframe.rs
Original file line number Diff line number Diff line change
Expand Up @@ -110,11 +110,10 @@ impl TimeColumnDescriptor {
datatype: _,
} = self;

[
Some(("sorbet.index_name".to_owned(), timeline.name().to_string())),
Some(("sorbet.index_type".to_owned(), timeline.typ().to_string())),
]
.into_iter()
std::iter::once(Some((
"sorbet.index_name".to_owned(),
timeline.name().to_string(),
)))
.flatten()
.collect()
}
Expand Down
9 changes: 0 additions & 9 deletions crates/store/re_log_types/src/time_point/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -118,15 +118,6 @@ pub enum TimeType {
Sequence,
}

impl std::fmt::Display for TimeType {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
match self {
Self::Time => write!(f, "Time"),
Self::Sequence => write!(f, "Sequence"),
}
}
}

impl TimeType {
#[inline]
fn hash(&self) -> u64 {
Expand Down

0 comments on commit 8b08950

Please sign in to comment.