    Finished `test` profile [unoptimized + debuginfo] target(s) in 0.78s
     Running tests/test_advanced_sql.rs (target/debug/deps/test_advanced_sql-8a8db2f0cd188365)

running 1 test
Optimizing data layout: Shuffling rows by vector similarity (LanceDB-style)...
Written data to /tmp/.tmp9NniY1/year=2022/category=A/seg_c03b16a6-f3ef-46af-bb59-0979550ac529.parquet (10 rows)
Building indexes for batch of 10 rows
Indexing Int32 column: id
Indexing Vector column: embedding (type=FixedSizeList(Field { data_type: Float32, nullable: true }, 4))
Indexing String column: category
Indexing Int32 column: year
Building HNSW-IVF index (blocking): 10 vectors, 4 dims, use_pq=false
  Found 1 unique values
  [K-Means] Converged early at iteration 2
String Inverted Index written to /tmp/.tmp9NniY1/year=2022/category=A/seg_c03b16a6-f3ef-46af-bb59-0979550ac529.category.inv.parquet
DEBUG: to_manifest_entry: segment_id=seg_c03b16a6-f3ef-46af-bb59-0979550ac529, generated index_files=[IndexFile { file_path: "seg_c03b16a6-f3ef-46af-bb59-0979550ac529.year.inv.parquet", index_type: "inverted", column_name: Some("year"), blob_type: None, offset: None, length: None }, IndexFile { file_path: "seg_c03b16a6-f3ef-46af-bb59-0979550ac529.category.inv.parquet", index_type: "inverted", column_name: Some("category"), blob_type: None, offset: None, length: None }, IndexFile { file_path: "seg_c03b16a6-f3ef-46af-bb59-0979550ac529.id.inv.parquet", index_type: "inverted", column_name: Some("id"), blob_type: None, offset: None, length: None }, IndexFile { file_path: "seg_c03b16a6-f3ef-46af-bb59-0979550ac529.embedding.cluster_0.hnsw.graph", index_type: "vector", column_name: Some("embedding"), blob_type: None, offset: None, length: None }]
DEBUG: Background indexing task: segment=year=2022/category=A/seg_c03b16a6-f3ef-46af-bb59-0979550ac529.parquet, found index_files=[IndexFile { file_path: "year=2022/category=A/seg_c03b16a6-f3ef-46af-bb59-0979550ac529.year.inv.parquet", index_type: "inverted", column_name: Some("year"), blob_type: None, offset: None, length: None }, IndexFile { file_path: "year=2022/category=A/seg_c03b16a6-f3ef-46af-bb59-0979550ac529.category.inv.parquet", index_type: "inverted", column_name: Some("category"), blob_type: None, offset: None, length: None }, IndexFile { file_path: "year=2022/category=A/seg_c03b16a6-f3ef-46af-bb59-0979550ac529.id.inv.parquet", index_type: "inverted", column_name: Some("id"), blob_type: None, offset: None, length: None }, IndexFile { file_path: "year=2022/category=A/seg_c03b16a6-f3ef-46af-bb59-0979550ac529.embedding.cluster_0.hnsw.graph", index_type: "vector", column_name: Some("embedding"), blob_type: None, offset: None, length: None }]
Successfully attached 4 indexes to manifest for segment year=2022/category=A/seg_c03b16a6-f3ef-46af-bb59-0979550ac529.parquet
Optimizing data layout: Shuffling rows by vector similarity (LanceDB-style)...
Written data to /tmp/.tmp9NniY1/year=2022/category=B/seg_4226dd58-f8b8-43c2-bf3c-914cf5489516.parquet (10 rows)
Building indexes for batch of 10 rows
Indexing Int32 column: id
Indexing Int32 column: year
Indexing Vector column: embedding (type=FixedSizeList(Field { data_type: Float32, nullable: true }, 4))
Indexing String column: category
Building HNSW-IVF index (blocking): 10 vectors, 4 dims, use_pq=false
  Found 1 unique values
  [K-Means] Converged early at iteration 2
String Inverted Index written to /tmp/.tmp9NniY1/year=2022/category=B/seg_4226dd58-f8b8-43c2-bf3c-914cf5489516.category.inv.parquet
DEBUG: to_manifest_entry: segment_id=seg_4226dd58-f8b8-43c2-bf3c-914cf5489516, generated index_files=[IndexFile { file_path: "seg_4226dd58-f8b8-43c2-bf3c-914cf5489516.id.inv.parquet", index_type: "inverted", column_name: Some("id"), blob_type: None, offset: None, length: None }, IndexFile { file_path: "seg_4226dd58-f8b8-43c2-bf3c-914cf5489516.year.inv.parquet", index_type: "inverted", column_name: Some("year"), blob_type: None, offset: None, length: None }, IndexFile { file_path: "seg_4226dd58-f8b8-43c2-bf3c-914cf5489516.category.inv.parquet", index_type: "inverted", column_name: Some("category"), blob_type: None, offset: None, length: None }, IndexFile { file_path: "seg_4226dd58-f8b8-43c2-bf3c-914cf5489516.embedding.cluster_0.hnsw.graph", index_type: "vector", column_name: Some("embedding"), blob_type: None, offset: None, length: None }]
DEBUG: Background indexing task: segment=year=2022/category=B/seg_4226dd58-f8b8-43c2-bf3c-914cf5489516.parquet, found index_files=[IndexFile { file_path: "year=2022/category=B/seg_4226dd58-f8b8-43c2-bf3c-914cf5489516.id.inv.parquet", index_type: "inverted", column_name: Some("id"), blob_type: None, offset: None, length: None }, IndexFile { file_path: "year=2022/category=B/seg_4226dd58-f8b8-43c2-bf3c-914cf5489516.year.inv.parquet", index_type: "inverted", column_name: Some("year"), blob_type: None, offset: None, length: None }, IndexFile { file_path: "year=2022/category=B/seg_4226dd58-f8b8-43c2-bf3c-914cf5489516.category.inv.parquet", index_type: "inverted", column_name: Some("category"), blob_type: None, offset: None, length: None }, IndexFile { file_path: "year=2022/category=B/seg_4226dd58-f8b8-43c2-bf3c-914cf5489516.embedding.cluster_0.hnsw.graph", index_type: "vector", column_name: Some("embedding"), blob_type: None, offset: None, length: None }]
Successfully attached 4 indexes to manifest for segment year=2022/category=B/seg_4226dd58-f8b8-43c2-bf3c-914cf5489516.parquet
Optimizing data layout: Shuffling rows by vector similarity (LanceDB-style)...
Written data to /tmp/.tmp9NniY1/year=2023/category=A/seg_8ce0688b-6cad-49e2-97c1-bc4fdae3272e.parquet (10 rows)
Building indexes for batch of 10 rows
Indexing Int32 column: id
Indexing Vector column: embedding (type=FixedSizeList(Field { data_type: Float32, nullable: true }, 4))
Indexing String column: category
Building HNSW-IVF index (blocking): 10 vectors, 4 dims, use_pq=false
  Found 1 unique values
Indexing Int32 column: year
String Inverted Index written to /tmp/.tmp9NniY1/year=2023/category=A/seg_8ce0688b-6cad-49e2-97c1-bc4fdae3272e.category.inv.parquet
  [K-Means] Converged early at iteration 2
DEBUG: to_manifest_entry: segment_id=seg_8ce0688b-6cad-49e2-97c1-bc4fdae3272e, generated index_files=[IndexFile { file_path: "seg_8ce0688b-6cad-49e2-97c1-bc4fdae3272e.id.inv.parquet", index_type: "inverted", column_name: Some("id"), blob_type: None, offset: None, length: None }, IndexFile { file_path: "seg_8ce0688b-6cad-49e2-97c1-bc4fdae3272e.category.inv.parquet", index_type: "inverted", column_name: Some("category"), blob_type: None, offset: None, length: None }, IndexFile { file_path: "seg_8ce0688b-6cad-49e2-97c1-bc4fdae3272e.year.inv.parquet", index_type: "inverted", column_name: Some("year"), blob_type: None, offset: None, length: None }, IndexFile { file_path: "seg_8ce0688b-6cad-49e2-97c1-bc4fdae3272e.embedding.cluster_0.hnsw.graph", index_type: "vector", column_name: Some("embedding"), blob_type: None, offset: None, length: None }]
DEBUG: Background indexing task: segment=year=2023/category=A/seg_8ce0688b-6cad-49e2-97c1-bc4fdae3272e.parquet, found index_files=[IndexFile { file_path: "year=2023/category=A/seg_8ce0688b-6cad-49e2-97c1-bc4fdae3272e.id.inv.parquet", index_type: "inverted", column_name: Some("id"), blob_type: None, offset: None, length: None }, IndexFile { file_path: "year=2023/category=A/seg_8ce0688b-6cad-49e2-97c1-bc4fdae3272e.category.inv.parquet", index_type: "inverted", column_name: Some("category"), blob_type: None, offset: None, length: None }, IndexFile { file_path: "year=2023/category=A/seg_8ce0688b-6cad-49e2-97c1-bc4fdae3272e.year.inv.parquet", index_type: "inverted", column_name: Some("year"), blob_type: None, offset: None, length: None }, IndexFile { file_path: "year=2023/category=A/seg_8ce0688b-6cad-49e2-97c1-bc4fdae3272e.embedding.cluster_0.hnsw.graph", index_type: "vector", column_name: Some("embedding"), blob_type: None, offset: None, length: None }]
Successfully attached 4 indexes to manifest for segment year=2023/category=A/seg_8ce0688b-6cad-49e2-97c1-bc4fdae3272e.parquet
DEBUG: Total entries to prune: 3
DEBUG: Entry year=2023/category=A/seg_8ce0688b-6cad-49e2-97c1-bc4fdae3272e.parquet: partitions={"category": String("A"), "year": Number(2023)}, index_files=[IndexFile { file_path: "year=2023/category=A/seg_8ce0688b-6cad-49e2-97c1-bc4fdae3272e.id.inv.parquet", index_type: "inverted", column_name: Some("id"), blob_type: None, offset: None, length: None }, IndexFile { file_path: "year=2023/category=A/seg_8ce0688b-6cad-49e2-97c1-bc4fdae3272e.category.inv.parquet", index_type: "inverted", column_name: Some("category"), blob_type: None, offset: None, length: None }, IndexFile { file_path: "year=2023/category=A/seg_8ce0688b-6cad-49e2-97c1-bc4fdae3272e.year.inv.parquet", index_type: "inverted", column_name: Some("year"), blob_type: None, offset: None, length: None }, IndexFile { file_path: "year=2023/category=A/seg_8ce0688b-6cad-49e2-97c1-bc4fdae3272e.embedding.cluster_0.hnsw.graph", index_type: "vector", column_name: Some("embedding"), blob_type: None, offset: None, length: None }]
DEBUG: Pruning segment due to PARTITION column year (MAX). Entry val: Number(2023), Max filter: Number(2022), Max inclusive: true
DEBUG: Pruning segment year=2023/category=A/seg_8ce0688b-6cad-49e2-97c1-bc4fdae3272e.parquet due to SCALAR filter expr
DEBUG: Entry year=2022/category=A/seg_c03b16a6-f3ef-46af-bb59-0979550ac529.parquet: partitions={"category": String("A"), "year": Number(2022)}, index_files=[IndexFile { file_path: "year=2022/category=A/seg_c03b16a6-f3ef-46af-bb59-0979550ac529.year.inv.parquet", index_type: "inverted", column_name: Some("year"), blob_type: None, offset: None, length: None }, IndexFile { file_path: "year=2022/category=A/seg_c03b16a6-f3ef-46af-bb59-0979550ac529.category.inv.parquet", index_type: "inverted", column_name: Some("category"), blob_type: None, offset: None, length: None }, IndexFile { file_path: "year=2022/category=A/seg_c03b16a6-f3ef-46af-bb59-0979550ac529.id.inv.parquet", index_type: "inverted", column_name: Some("id"), blob_type: None, offset: None, length: None }, IndexFile { file_path: "year=2022/category=A/seg_c03b16a6-f3ef-46af-bb59-0979550ac529.embedding.cluster_0.hnsw.graph", index_type: "vector", column_name: Some("embedding"), blob_type: None, offset: None, length: None }]
DEBUG: Entry year=2022/category=B/seg_4226dd58-f8b8-43c2-bf3c-914cf5489516.parquet: partitions={"year": Number(2022), "category": String("B")}, index_files=[IndexFile { file_path: "year=2022/category=B/seg_4226dd58-f8b8-43c2-bf3c-914cf5489516.id.inv.parquet", index_type: "inverted", column_name: Some("id"), blob_type: None, offset: None, length: None }, IndexFile { file_path: "year=2022/category=B/seg_4226dd58-f8b8-43c2-bf3c-914cf5489516.year.inv.parquet", index_type: "inverted", column_name: Some("year"), blob_type: None, offset: None, length: None }, IndexFile { file_path: "year=2022/category=B/seg_4226dd58-f8b8-43c2-bf3c-914cf5489516.category.inv.parquet", index_type: "inverted", column_name: Some("category"), blob_type: None, offset: None, length: None }, IndexFile { file_path: "year=2022/category=B/seg_4226dd58-f8b8-43c2-bf3c-914cf5489516.embedding.cluster_0.hnsw.graph", index_type: "vector", column_name: Some("embedding"), blob_type: None, offset: None, length: None }]
DEBUG: Pruning segment due to PARTITION column category (MAX). Entry val: String("B"), Max filter: String("A"), Max inclusive: true
DEBUG: Pruning segment year=2022/category=B/seg_4226dd58-f8b8-43c2-bf3c-914cf5489516.parquet due to SCALAR filter expr
DEBUG: Searching for index for column: year. Available index files: [IndexFile { file_path: "year=2022/category=A/seg_c03b16a6-f3ef-46af-bb59-0979550ac529.year.inv.parquet", index_type: "inverted", column_name: Some("year"), blob_type: None, offset: None, length: None }, IndexFile { file_path: "year=2022/category=A/seg_c03b16a6-f3ef-46af-bb59-0979550ac529.category.inv.parquet", index_type: "inverted", column_name: Some("category"), blob_type: None, offset: None, length: None }, IndexFile { file_path: "year=2022/category=A/seg_c03b16a6-f3ef-46af-bb59-0979550ac529.id.inv.parquet", index_type: "inverted", column_name: Some("id"), blob_type: None, offset: None, length: None }, IndexFile { file_path: "year=2022/category=A/seg_c03b16a6-f3ef-46af-bb59-0979550ac529.embedding.cluster_0.hnsw.graph", index_type: "vector", column_name: Some("embedding"), blob_type: None, offset: None, length: None }]
DEBUG: Searching for index for column: category. Available index files: [IndexFile { file_path: "year=2022/category=A/seg_c03b16a6-f3ef-46af-bb59-0979550ac529.year.inv.parquet", index_type: "inverted", column_name: Some("year"), blob_type: None, offset: None, length: None }, IndexFile { file_path: "year=2022/category=A/seg_c03b16a6-f3ef-46af-bb59-0979550ac529.category.inv.parquet", index_type: "inverted", column_name: Some("category"), blob_type: None, offset: None, length: None }, IndexFile { file_path: "year=2022/category=A/seg_c03b16a6-f3ef-46af-bb59-0979550ac529.id.inv.parquet", index_type: "inverted", column_name: Some("id"), blob_type: None, offset: None, length: None }, IndexFile { file_path: "year=2022/category=A/seg_c03b16a6-f3ef-46af-bb59-0979550ac529.embedding.cluster_0.hnsw.graph", index_type: "vector", column_name: Some("embedding"), blob_type: None, offset: None, length: None }]
DEBUG: Searching for index for column: id. Available index files: [IndexFile { file_path: "year=2022/category=A/seg_c03b16a6-f3ef-46af-bb59-0979550ac529.year.inv.parquet", index_type: "inverted", column_name: Some("year"), blob_type: None, offset: None, length: None }, IndexFile { file_path: "year=2022/category=A/seg_c03b16a6-f3ef-46af-bb59-0979550ac529.category.inv.parquet", index_type: "inverted", column_name: Some("category"), blob_type: None, offset: None, length: None }, IndexFile { file_path: "year=2022/category=A/seg_c03b16a6-f3ef-46af-bb59-0979550ac529.id.inv.parquet", index_type: "inverted", column_name: Some("id"), blob_type: None, offset: None, length: None }, IndexFile { file_path: "year=2022/category=A/seg_c03b16a6-f3ef-46af-bb59-0979550ac529.embedding.cluster_0.hnsw.graph", index_type: "vector", column_name: Some("embedding"), blob_type: None, offset: None, length: None }]

thread 'test_hybrid_sql_vector_search' (3588940) panicked at tests/test_advanced_sql.rs:96:5:
assertion `left == right` failed
  left: 0
 right: 5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
test test_hybrid_sql_vector_search ... FAILED

failures:

failures:
    test_hybrid_sql_vector_search

test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 2 filtered out; finished in 0.68s

error: test failed, to rerun pass `--test test_advanced_sql`
