Bump lance 0.9.9 (#851)

This commit is contained in:
Bert
2024-01-24 08:41:28 -05:00
committed by GitHub
parent 1cd5426aea
commit 82cbcf6d07
10 changed files with 16 additions and 18 deletions

View File

@@ -15,7 +15,7 @@
use std::sync::Arc;
use async_trait::async_trait;
use lance::io::object_store::ObjectStoreParams;
use lance::io::ObjectStoreParams;
use neon::prelude::*;
use object_store::aws::{AwsCredential, AwsCredentialProvider};
use object_store::CredentialProvider;

View File

@@ -15,7 +15,7 @@
use arrow_array::{RecordBatch, RecordBatchIterator};
use lance::dataset::optimize::CompactionOptions;
use lance::dataset::{WriteMode, WriteParams};
use lance::io::object_store::ObjectStoreParams;
use lance::io::ObjectStoreParams;
use crate::arrow::{arrow_buffer_to_record_batch, record_batch_to_buffer};
use neon::prelude::*;

View File

@@ -21,7 +21,7 @@ use std::sync::Arc;
use arrow_array::RecordBatchReader;
use lance::dataset::WriteParams;
use lance::io::object_store::{ObjectStore, WrappingObjectStore};
use lance::io::{ObjectStore, WrappingObjectStore};
use object_store::local::LocalFileSystem;
use snafu::prelude::*;

View File

@@ -14,9 +14,9 @@
use serde::Deserialize;
use lance::format::{Index, Manifest};
use lance::index::vector::pq::PQBuildParams;
use lance::index::vector::VectorIndexParams;
use lance::table::format::{Index, Manifest};
use lance_index::vector::ivf::IvfBuildParams;
use lance_linalg::distance::MetricType;

View File

@@ -23,7 +23,7 @@ use std::{
use bytes::Bytes;
use futures::{stream::BoxStream, FutureExt, StreamExt};
use lance::io::object_store::WrappingObjectStore;
use lance::io::WrappingObjectStore;
use object_store::{
path::Path, Error, GetOptions, GetResult, ListResult, MultipartId, ObjectMeta, ObjectStore,
PutOptions, PutResult, Result,
@@ -338,7 +338,7 @@ mod test {
use crate::connection::{Connection, Database};
use arrow_array::PrimitiveArray;
use futures::TryStreamExt;
use lance::{dataset::WriteParams, io::object_store::ObjectStoreParams};
use lance::{dataset::WriteParams, io::ObjectStoreParams};
use lance_testing::datagen::{BatchGenerator, IncrementingInt32, RandomVector};
use object_store::local::LocalFileSystem;
use tempfile;

View File

@@ -141,7 +141,7 @@ pub mod query;
pub mod table;
pub mod utils;
pub use connection::Connection;
pub use connection::{Connection, Database};
pub use error::{Error, Result};
pub use table::Table;

View File

@@ -26,7 +26,7 @@ use lance::dataset::optimize::{
compact_files, CompactionMetrics, CompactionOptions, IndexRemapperOptions,
};
use lance::dataset::{Dataset, UpdateBuilder, WriteParams};
use lance::io::object_store::WrappingObjectStore;
use lance::io::WrappingObjectStore;
use lance_index::DatasetIndexExt;
use std::path::Path;
@@ -492,7 +492,7 @@ mod tests {
use futures::TryStreamExt;
use lance::dataset::{Dataset, WriteMode};
use lance::index::vector::pq::PQBuildParams;
use lance::io::object_store::{ObjectStoreParams, WrappingObjectStore};
use lance::io::{ObjectStoreParams, WrappingObjectStore};
use lance_index::vector::ivf::IvfBuildParams;
use rand::Rng;
use tempfile::tempdir;

View File

@@ -1,9 +1,7 @@
use std::sync::Arc;
use lance::{
dataset::{ReadParams, WriteParams},
io::object_store::{ObjectStoreParams, WrappingObjectStore},
};
use lance::dataset::{ReadParams, WriteParams};
use lance::io::{ObjectStoreParams, WrappingObjectStore};
use crate::error::{Error, Result};