()
| 371 | |
| 372 | #[test] |
| 373 | fn named_oversample() { |
| 374 | let plan = plan_ann( |
| 375 | "SELECT id FROM embeddings ORDER BY vector_distance(embedding, [1.0, 0.0], oversample => 3) LIMIT 5", |
| 376 | ); |
| 377 | let SqlPlan::VectorSearch { ann_options, .. } = plan else { |
| 378 | panic!("expected VectorSearch plan"); |
| 379 | }; |
| 380 | assert_eq!(ann_options.oversample, Some(3)); |
| 381 | } |
| 382 | |
| 383 | #[test] |
| 384 | fn named_query_dim() { |
nothing calls this directly
no test coverage detected