()
| 382 | |
| 383 | #[test] |
| 384 | fn named_query_dim() { |
| 385 | let plan = plan_ann( |
| 386 | "SELECT id FROM embeddings ORDER BY vector_distance(embedding, [1.0, 0.0], query_dim => 128) LIMIT 5", |
| 387 | ); |
| 388 | let SqlPlan::VectorSearch { ann_options, .. } = plan else { |
| 389 | panic!("expected VectorSearch plan"); |
| 390 | }; |
| 391 | assert_eq!(ann_options.query_dim, Some(128)); |
| 392 | } |
| 393 | |
| 394 | #[test] |
| 395 | fn named_meta_token_budget() { |
nothing calls this directly
no test coverage detected