@@ -25,7 +25,7 @@ results = SQLite.query(db,"SELECT * FROM Employee;")
25
25
@test length (results. data) == 15
26
26
@test size (results) == (8 ,15 )
27
27
@test typeof (results[1 ,1 ]) == Nullable{Int}
28
- @test typeof (results[1 ,2 ]) == Nullable{UTF8String }
28
+ @test typeof (results[1 ,2 ]) == Nullable{@compat (String) }
29
29
@test isnull (results[1 ,5 ])
30
30
31
31
SQLite. query (db," SELECT * FROM Album;" )
@@ -277,10 +277,10 @@ dt = Data.stream!(source3,Data.Table)
277
277
278
278
# Make sure we handle undefined values
279
279
db = SQLite. DB () # In case the order of tests is changed
280
- arr = Array (UTF8String ,2 )
280
+ arr = Array (@compat (String) ,2 )
281
281
arr[1 ] = " 1" # Now an array with the second value undefined
282
282
nv = NullableArrays. NullableArray (arr, [false , true ])
283
- schema = DataStreams. Data. Schema ([" nv" ], [UTF8String ],2 )
283
+ schema = DataStreams. Data. Schema ([" nv" ], [@compat (String) ],2 )
284
284
d = NullableArrays. NullableVector[nv]
285
285
dt = DataStreams. Data. Table (schema, d,0 )
286
286
SQLite. drop! (db, " temp" , ifexists= true )
@@ -294,10 +294,10 @@ dt2 = SQLite.query(db, "Select * from temp")
294
294
# Test removeduplicates!
295
295
db = SQLite. DB () # In case the order of tests is changed
296
296
ints = Int64[1 ,1 ,2 ,2 ,3 ]
297
- strs = UTF8String [" A" , " A" , " B" , " C" , " C" ]
297
+ strs = @compat (String) [" A" , " A" , " B" , " C" , " C" ]
298
298
nvInts = NullableArrays. NullableArray (ints)
299
299
nvStrs = NullableArrays. NullableArray (strs)
300
- schema = DataStreams. Data. Schema ([" ints" , " strs" ], [Int64, UTF8String ],5 )
300
+ schema = DataStreams. Data. Schema ([" ints" , " strs" ], [Int64, @compat (String) ],5 )
301
301
d = NullableArrays. NullableVector[nvInts, nvStrs]
302
302
dt = DataStreams. Data. Table (schema, d,0 )
303
303
SQLite. drop! (db, " temp" , ifexists= true )
0 commit comments