Skip to content

Commit 32ac314

Browse files
committed
warn -> @warn
1 parent 5eda56e commit 32ac314

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

docs/src/missing_values.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
```@setup dv
2-
using JuliaDB
2+
using JuliaDB, Pkg
3+
Pkg.add("DataValues")
34
```
45

56
# Missing Values

src/io.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,10 +218,13 @@ end
218218
function _makerelative!(t, dir::AbstractString)
219219
foreach(t.chunks) do c
220220
h = c.handle
221+
@info "_makerelative! handle: $h"
221222
if isa(h, FileRef)
223+
@info "set handle to FileRef"
222224
c.handle = FileRef(joinpath(dir, h.file), h.size)
223225
end
224226
end
227+
@info "finished foreach"
225228
end
226229

227230
using MemPool

src/util.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ function _loadtable_serial(T, file::Union{IO, AbstractString, AbstractArray};
135135
nullableidx = findall(x->eltype(x) <: Union{DataValue,Nullable} || Missing <: eltype(x), indexvecs)
136136
if !isempty(nullableidx)
137137
badcol_names = header[_indexcols[nullableidx]]
138-
warn("Indexed columns may contain Nullables or NAs. Column(s) with nullables: $(join(badcol_names, ", ", " and ")). This will result in wrong sorting.")
138+
@warn("Indexed columns may contain Nullables or NAs. Column(s) with nullables: $(join(badcol_names, ", ", " and ")). This will result in wrong sorting.")
139139
end
140140

141141
index = Columns(Tuple(indexvecs); names=indexcolnames)

0 commit comments

Comments
 (0)