File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -372,6 +372,7 @@ juliatype(x::Integer) =
372
372
x == SQLITE_INTEGER ? Int64 :
373
373
x == SQLITE_FLOAT ? Float64 :
374
374
x == SQLITE_TEXT ? String :
375
+ x == SQLITE_NULL ? Missing :
375
376
Any
376
377
377
378
# convert SQLite declared type into Julia equivalent,
Original file line number Diff line number Diff line change 104
104
empty_tbl = DBInterface. execute (columntable, db, " SELECT * FROM Employee WHERE FirstName='Joanne'" )
105
105
all_tbl = DBInterface. execute (columntable, db, " SELECT * FROM Employee" )
106
106
@test propertynames (empty_tbl) == propertynames (all_tbl)
107
- @test all (col -> eltype (empty_tbl[col]) >: eltype (all_tbl[col]), propertynames (all_tbl))
107
+ @test all (col -> eltype (empty_tbl[col]) == Missing || eltype (empty_tbl[col]) >: eltype (all_tbl[col]), propertynames (all_tbl))
108
108
end
109
109
110
110
DBInterface. execute (db, " create table temp as select * from album" )
You can’t perform that action at this time.
0 commit comments