Skip to content

Commit

Permalink
debug logs
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-pfus committed Jul 15, 2024
1 parent b0373dc commit d9a35b0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion structured_type_write_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -744,6 +744,7 @@ func TestBindingNilArrayOfObjects(t *testing.T) {
}

func TestBindingNilArrayOfInts(t *testing.T) {
ctx := WithStructuredTypesEnabled(context.Background())
runDBTest(t, func(dbt *DBTest) {
dbt.enableStructuredTypesBinding()
dbt.mustExec("CREATE OR REPLACE TABLE test_array_binding (arr ARRAY(INTEGER))")
Expand All @@ -754,7 +755,7 @@ func TestBindingNilArrayOfInts(t *testing.T) {
var arr *[]int64
dbt.mustExec("INSERT INTO test_array_binding SELECT (?)", DataTypeNilArray, reflect.TypeOf(1))

rows := dbt.mustQuery("SELECT * FROM test_array_binding")
rows := dbt.mustQueryContext(ctx, "SELECT * FROM test_array_binding")
defer rows.Close()

assertTrueF(t, rows.Next())
Expand Down

0 comments on commit d9a35b0

Please sign in to comment.