-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nested task error: Abstract type AbstractTime does not have a definite size #14
Comments
Luckily for me, it works for Union{Date, Missing} and I don't need the time in my application |
Can you send the output of |
|
Reproducer code: use
|
The root cause of the problem is a bug in JDF: The bug is reported as fixed in 0.4.1. Fix to come shortly. |
After digging in, JDF is already at version 0.4.4. The JDF ticket specifically addresses The following currently works, as you mentioned above.
|
A bug report is filed at: Once there is a fix, the JDF version can be updated. |
df = DataFrame()
df[!, :test] = [DateTime(2000,1,1,1,1,1), missing] # the missing is causing the problem
DataFrameTools.df_write("test.jdf", df)
ERROR: TaskFailedException
Stacktrace:
[1] wait
@ .\task.jl:322 [inlined]
[2] fetch(t::Task)
@ Base .\task.jl:337
[3] _broadcast_getindex_evalf
@ .\broadcast.jl:648 [inlined]
[4] _broadcast_getindex
@ .\broadcast.jl:621 [inlined]
[5] getindex
@ .\broadcast.jl:575 [inlined]
[6] copy
@ .\broadcast.jl:922 [inlined]
[7] materialize
@ .\broadcast.jl:883 [inlined]
[8] save(outdir::String, df::DataFrame; verbose::Bool)
@ JDF C:\Users\ME.julia\packages\JDF\SMfQY\src\savejdf.jl:82
[9] save
@ C:\Users\ME.julia\packages\JDF\SMfQY\src\savejdf.jl:52 [inlined]
[10] #savejdf#64
@ C:\Users\ME.julia\packages\JDF\SMfQY\src\savejdf.jl:145 [inlined]
[11] savejdf
@ C:\Users\ME.julia\packages\JDF\SMfQY\src\savejdf.jl:145 [inlined]
[12] _df_write(file::String, format::Symbol, df::DataFrame; dictencode::Bool)
@ DataFrameTools C:\Users\ME.julia\packages\DataFrameTools\tsE6U\src\io.jl:188
[13] df_write(file::String, df::DataFrame; subformat::Nothing, dictencode::Bool)
@ DataFrameTools C:\Users\ME.julia\packages\DataFrameTools\tsE6U\src\io.jl:140
[14] df_write(file::String, df::DataFrame)
@ DataFrameTools C:\Users\ME.julia\packages\DataFrameTools\tsE6U\src\io.jl:124
[15] top-level scope
@ REPL[49]:1
julia>
The text was updated successfully, but these errors were encountered: