Skip to content

Commit

Permalink
add param
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-rpanchapakesan committed Jan 3, 2024
1 parent cd3bac5 commit e5b9be0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions driver_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1286,6 +1286,8 @@ func testVectorInt(t *testing.T, json bool) {
},
}
runDBTest(t, func(dbt *DBTest) {
dbt.mustExec("alter session set enable_vector_data_type='Enable'")
defer dbt.mustExec("alter session unset enable_vector_data_type")
if json {
dbt.mustExec(forceJSON)
}
Expand Down Expand Up @@ -1332,9 +1334,12 @@ func testVectorFloat(t *testing.T, json bool) {
},
}
runDBTest(t, func(dbt *DBTest) {
dbt.mustExec("alter session set enable_vector_data_type='Enable'")
defer dbt.mustExec("alter session unset enable_vector_data_type")
if json {
dbt.mustExec(forceJSON)
}

for _, tt := range tests {
t.Run(tt.msg, func(t *testing.T) {
rowsFloat := dbt.mustQuery(tt.query)
Expand Down

0 comments on commit e5b9be0

Please sign in to comment.