@@ -253,12 +253,12 @@ func TestAdaptiveEncodingVarbit(t *testing.T) {
253253 },
254254 {
255255 // An inlined adaptive column can be used in a filter.
256- Query : "select i from blobt where b = LOAD_FILE('testdata/fullSizeVarbit')" ,
256+ Query : "select i from blobt where b = LOAD_FILE('testdata/fullSizeVarbit')::varbit " ,
257257 Expected : []sql.Row {{"F" }},
258258 },
259259 {
260260 // An out-of-line adaptive column can be used in a filter.
261- Query : "select i from blobt where b = LOAD_FILE('testdata/halfSizeVarbit')" ,
261+ Query : "select i from blobt where b = LOAD_FILE('testdata/halfSizeVarbit')::varbit " ,
262262 Expected : []sql.Row {{"H" }},
263263 },
264264 },
@@ -297,12 +297,12 @@ func TestAdaptiveEncodingVarbit(t *testing.T) {
297297 },
298298 {
299299 // An adaptive column can be used in a filter when it doesn't have the same encoding in all rows.
300- Query : "select i from blobt2 where b1 = LOAD_FILE('testdata/halfSize') " ,
300+ Query : "select i from blobt2 where b1 = LOAD_FILE('testdata/halfSizeVarbit')::varbit " ,
301301 Expected : []sql.Row {{"HF" }, {"HH" }, {"HT" }},
302302 },
303303 {
304304 // An adaptive column can be used in a filter when it doesn't have the same encoding in all rows.
305- Query : "select i from blobt2 where b2 = LOAD_FILE('testdata/halfSize') " ,
305+ Query : "select i from blobt2 where b2 = LOAD_FILE('testdata/halfSizeVarbit')::varbit " ,
306306 Expected : []sql.Row {{"FH" }, {"HH" }, {"TH" }},
307307 },
308308 },
0 commit comments