Skip to content
Closed
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
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -194,4 +194,4 @@ redundant_clone = "deny"
print_stdout = "deny"
print_stderr = "deny"
# not too much we can do to avoid multiple crate versions
multiple-crate-versions = "allow"
multiple-crate-versions = "allow"
6 changes: 6 additions & 0 deletions rust/lance/src/dataset/write.rs
Original file line number Diff line number Diff line change
Expand Up @@ -656,6 +656,9 @@ async fn resolve_commit_handler(
/// data. Otherwise, the source will be spilled to a temporary file on disk.
///
/// This is used to support retries on write operations.
// TODO: we will use this again once we bring back
// https://github.com/lancedb/lance/issues/3798
#[allow(dead_code)]
async fn new_source_iter(
source: SendableRecordBatchStream,
enable_retries: bool,
Expand Down Expand Up @@ -685,6 +688,9 @@ async fn new_source_iter(
}
}

// We will use this again once we address this:
// https://github.com/lancedb/lance/issues/3798
#[allow(dead_code)]
struct SpillStreamIter {
receiver: SpillReceiver,
#[allow(dead_code)] // Exists to keep the SpillSender alive
Expand Down
Loading
Loading