Skip to content

Commit

Permalink
note to self
Browse files Browse the repository at this point in the history
  • Loading branch information
teh-cmc committed May 16, 2023
1 parent 3441adc commit 2d04d5c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions crates/re_data_store/src/log_db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ impl EntityDb {
let cell =
DataCell::from_arrow_empty(cell.component_name(), cell.datatype().clone());

// NOTE(cmc): The fact that this inserts data to multiple entity paths using a
// single `RowId` is... interesting. Keep it in mind.
let row = DataRow::from_cells1(
row_id,
row.entity_path.clone(),
Expand Down Expand Up @@ -116,6 +118,9 @@ impl EntityDb {
// TODO(jleibs): Faster empty-array creation
let cell =
DataCell::from_arrow_empty(component_path.component_name, data_type.clone());

// NOTE(cmc): The fact that this inserts data to multiple entity paths using a
// single `RowId` is... interesting. Keep it in mind.
let row = DataRow::from_cells1(
row_id,
component_path.entity_path.clone(),
Expand Down

0 comments on commit 2d04d5c

Please sign in to comment.