add different try_vector_engine_strategy check
This commit is contained in:
@ -333,6 +333,12 @@ drop database pg_length_cmpt_db;
|
||||
-- Do not use vectorization engine
|
||||
create table force_vector_sysdomain(a information_schema.cardinal_number, b int);
|
||||
insert into force_vector_sysdomain values(10, 20);
|
||||
select a,b from force_vector_sysdomain;
|
||||
a | b
|
||||
----+----
|
||||
10 | 20
|
||||
(1 row)
|
||||
|
||||
set try_vector_engine_strategy='force';
|
||||
select a,b from force_vector_sysdomain;
|
||||
a | b
|
||||
@ -340,5 +346,12 @@ select a,b from force_vector_sysdomain;
|
||||
10 | 20
|
||||
(1 row)
|
||||
|
||||
set try_vector_engine_strategy='optimal';
|
||||
select a,b from force_vector_sysdomain;
|
||||
a | b
|
||||
----+----
|
||||
10 | 20
|
||||
(1 row)
|
||||
|
||||
drop table force_vector_sysdomain;
|
||||
set try_vector_engine_strategy='off';
|
||||
|
@ -116,7 +116,10 @@ drop database pg_length_cmpt_db;
|
||||
-- Do not use vectorization engine
|
||||
create table force_vector_sysdomain(a information_schema.cardinal_number, b int);
|
||||
insert into force_vector_sysdomain values(10, 20);
|
||||
select a,b from force_vector_sysdomain;
|
||||
set try_vector_engine_strategy='force';
|
||||
select a,b from force_vector_sysdomain;
|
||||
set try_vector_engine_strategy='optimal';
|
||||
select a,b from force_vector_sysdomain;
|
||||
drop table force_vector_sysdomain;
|
||||
set try_vector_engine_strategy='off';
|
||||
|
Reference in New Issue
Block a user