Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion rust/lance-index/src/scalar/btree.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ use rangemap::RangeInclusiveMap;
use roaring::RoaringBitmap;
use serde::{Deserialize, Serialize, Serializer};
use snafu::location;
use tracing::info;
use tracing::{info, instrument};

mod flat;

Expand Down Expand Up @@ -1044,6 +1044,7 @@ impl BTreeIndex {
.await
}

#[instrument(level = "debug", skip_all)]
async fn read_page(
&self,
page_number: u32,
Expand Down Expand Up @@ -1090,6 +1091,7 @@ impl BTreeIndex {
}
}

#[instrument(level = "debug", skip_all)]
fn try_from_serialized(
data: RecordBatch,
store: Arc<dyn IndexStore>,
Expand Down
2 changes: 2 additions & 0 deletions rust/lance-index/src/scalar/btree/flat.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ use lance_core::utils::address::RowAddress;
use lance_core::utils::mask::{NullableRowAddrSet, RowAddrTreeMap};
use lance_core::Result;
use roaring::RoaringBitmap;
use tracing::instrument;

use crate::metrics::MetricsCollector;
use crate::scalar::btree::BTREE_VALUES_COLUMN;
Expand Down Expand Up @@ -46,6 +47,7 @@ impl DeepSizeOf for FlatIndex {
}

impl FlatIndex {
#[instrument(name = "FlatIndex::try_new", level = "debug", skip_all)]
pub fn try_new(data: RecordBatch) -> Result<Self> {
// Sort by row id to make bitmap construction more efficient
let data = data.sort_by_column(IDS_COL_IDX, None)?;
Expand Down
1 change: 1 addition & 0 deletions rust/lance/src/index.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1268,6 +1268,7 @@ impl DatasetIndexInternalExt for Dataset {
}
}

#[instrument(level = "debug", skip_all)]
async fn open_scalar_index(
&self,
column: &str,
Expand Down
Loading