You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/queries/0_stateless/02354_vector_search_reference_vector_types.sql
+91-12Lines changed: 91 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -5,53 +5,94 @@
5
5
6
6
SET allow_experimental_vector_similarity_index =1;
7
7
SET enable_analyzer =1;
8
-
SET parallel_replicas_local_plan=1; -- this setting is randomized, set it explicitly to have local plan for parallel replicas
8
+
SET parallel_replicas_local_plan=1; -- this setting is randomized, set it explicitly to force local plan for parallel replicas
9
9
10
+
DROPTABLE IF EXISTS tab_f64;
10
11
DROPTABLE IF EXISTS tab_f32;
11
12
DROPTABLE IF EXISTS tab_bf16;
12
13
13
-
SELECT'Create tables with vector similarity indexs on Float32 and BFloat16 columns';
14
+
SELECT'Create tables with vector similarity indexs on Float64, Float32 and BFloat16 columns';
15
+
16
+
CREATETABLEtab_f64(id Int32, vec Array(Float64), INDEX idx vec TYPE vector_similarity('hnsw', 'L2Distance', 2)) ENGINE = MergeTree ORDER BY id SETTINGS index_granularity =2;
CREATETABLEtab_f32(id Int32, vec Array(Float32), INDEX idx vec TYPE vector_similarity('hnsw', 'L2Distance', 2)) ENGINE = MergeTree ORDER BY id SETTINGS index_granularity =2;
CREATETABLEtab_bf16(id Int32, vec Array(BFloat16), INDEX idx vec TYPE vector_similarity('hnsw', 'L2Distance', 2)) ENGINE = MergeTree ORDER BY id SETTINGS index_granularity =2;
0 commit comments