Skip to content

Commit

Permalink
perf: don't write precomputed partitions to trace file (lancedb#2493)
Browse files Browse the repository at this point in the history
At 50M rows this writes 1GB to the trace file 😆
  • Loading branch information
westonpace authored Jun 20, 2024
1 parent 68c3260 commit 1875e95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rust/lance/src/index/vector/ivf/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ use super::io::write_hnsw_quantization_index_partitions;
///
///
#[allow(clippy::too_many_arguments)]
#[instrument(level = "debug", skip(writer, data, ivf, pq))]
#[instrument(level = "debug", skip_all)]
pub(super) async fn build_partitions(
writer: &mut dyn Writer,
data: impl RecordBatchStream + Unpin + 'static,
Expand Down

0 comments on commit 1875e95

Please sign in to comment.