Skip to content

Commit

Permalink
Add test case.
Browse files Browse the repository at this point in the history
  • Loading branch information
small-turtle-1 committed Jan 24, 2025
1 parent d61138a commit 48b6800
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/sql/dql/knn/embedding/test_knn_hnsw_l2.slt
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,11 @@ SELECT c1 FROM test_knn_hnsw_l2 SEARCH MATCH VECTOR (c2, [0.3, 0.3, 0.2, 0.2], '
8
8

query I
SELECT c1 FROM test_knn_hnsw_l2 SEARCH MATCH VECTOR (c2, [0.3, 0.3, 0.2, 0.2], 'float', 'l2', 3) WITH (ef = 4) LIMIT 2;
----
8
8

statement ok
DROP TABLE test_knn_hnsw_l2;

0 comments on commit 48b6800

Please sign in to comment.