@@ -7,10 +7,12 @@ import (
7
7
"context"
8
8
"database/sql"
9
9
"fmt"
10
+ "log"
10
11
"math/big"
11
12
"math/rand"
12
13
"reflect"
13
14
"strconv"
15
+ "strings"
14
16
"testing"
15
17
"time"
16
18
)
@@ -983,6 +985,10 @@ func TestFunctionParameters(t *testing.T) {
983
985
}
984
986
985
987
runDBTest (t , func (dbt * DBTest ) {
988
+ _ , err := dbt .exec ("ALTER SESSION SET BIND_NULL_VALUE_USE_NULL_DATATYPE=false" )
989
+ if err != nil {
990
+ log .Println (err )
991
+ }
986
992
for _ , tc := range testcases {
987
993
t .Run (tc .testDesc , func (t * testing.T ) {
988
994
query := fmt .Sprintf (`
@@ -1075,6 +1081,10 @@ func TestVariousBindingModes(t *testing.T) {
1075
1081
1076
1082
runDBTest (t , func (dbt * DBTest ) {
1077
1083
for _ , tc := range testcases {
1084
+ // TODO SNOW-1264687
1085
+ if strings .Contains (tc .testDesc , "LOB" ) {
1086
+ skipOnJenkins (t , "skipped until SNOW-1264687 is fixed" )
1087
+ }
1078
1088
for _ , bindingMode := range bindingModes {
1079
1089
t .Run (tc .testDesc + " " + bindingMode .param , func (t * testing.T ) {
1080
1090
query := fmt .Sprintf (`CREATE OR REPLACE TABLE BINDING_MODES(param1 %v)` , tc .paramType )
@@ -1142,18 +1152,26 @@ func testLOBRetrieval(t *testing.T, useArrowFormat bool) {
1142
1152
}
1143
1153
1144
1154
func TestInsertLobDataWithLiteralArrow (t * testing.T ) {
1155
+ // TODO SNOW-1264687
1156
+ skipOnJenkins (t , "skipped until SNOW-1264687 is fixed" )
1145
1157
testInsertLOBData (t , true , true )
1146
1158
}
1147
1159
1148
1160
func TestInsertLobDataWithLiteralJSON (t * testing.T ) {
1161
+ // TODO SNOW-1264687
1162
+ skipOnJenkins (t , "skipped until SNOW-1264687 is fixed" )
1149
1163
testInsertLOBData (t , false , true )
1150
1164
}
1151
1165
1152
1166
func TestInsertLobDataWithBindingsArrow (t * testing.T ) {
1167
+ // TODO SNOW-1264687
1168
+ skipOnJenkins (t , "skipped until SNOW-1264687 is fixed" )
1153
1169
testInsertLOBData (t , true , false )
1154
1170
}
1155
1171
1156
1172
func TestInsertLobDataWithBindingsJSON (t * testing.T ) {
1173
+ // TODO SNOW-1264687
1174
+ skipOnJenkins (t , "skipped until SNOW-1264687 is fixed" )
1157
1175
testInsertLOBData (t , false , false )
1158
1176
}
1159
1177
0 commit comments