We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Issue #62 indicated a problem with Date entries. Unfortunately, DateTime is still broken as of v0.4.4.
Date
DateTime
The problem was first reported at: chipkent/DataFrameTools.jl#14
The problem can be reproduced by running docker run -it julia:1.6:
docker run -it julia:1.6
using Pkg Pkg.add("DataFrames") using DataFrames Pkg.add("Dates") using Dates df = DataFrame() df[!, :test] = [DateTime(2000,1,1,1,1,1), missing] df Pkg.add("JDF") using JDF JDF.savejdf("test.jdf", df)
Error:
nested task error: Abstract type AbstractTime does not have a definite size. Stacktrace: [1] sizeof @ ./essentials.jl:455 [inlined] [2] compress!(dest::Vector{UInt8}, src::Ptr{Dates.AbstractTime}, src_size::Int64) @ Blosc ~/.julia/packages/Blosc/vjmKP/src/Blosc.jl:58 [3] compress(src::Ptr{Dates.AbstractTime}, src_size::Int64; kws::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}}) @ Blosc ~/.julia/packages/Blosc/vjmKP/src/Blosc.jl:86 [4] compress(src::Ptr{Dates.AbstractTime}, src_size::Int64) @ Blosc ~/.julia/packages/Blosc/vjmKP/src/Blosc.jl:85 [5] compress(src::Vector{Dates.AbstractTime}; kws::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}}) @ Blosc ~/.julia/packages/Blosc/vjmKP/src/Blosc.jl:92 [6] compress(src::Vector{Dates.AbstractTime}) @ Blosc ~/.julia/packages/Blosc/vjmKP/src/Blosc.jl:91 [7] compress_then_write(b::Vector{Dates.AbstractTime}, io::BufferedStreams.BufferedOutputStream{IOStream}) @ JDF ~/.julia/packages/JDF/SMfQY/src/compress_then_write.jl:8 [8] compress_then_write(b::Vector{Union{Missing, DateTime}}, io::BufferedStreams.BufferedOutputStream{IOStream}) @ JDF ~/.julia/packages/JDF/SMfQY/src/type-writer-loader/Missing.jl:13 [9] macro expansion @ ~/.julia/packages/JDF/SMfQY/src/savejdf.jl:75 [inlined] [10] (::JDF.var"#57#60"{String, DataFrame, Symbol})() @ JDF ./threadingconstructs.jl:169
The text was updated successfully, but these errors were encountered:
244a8a7
fixed #72
414a429
No branches or pull requests
Issue #62 indicated a problem with
Date
entries. Unfortunately,DateTime
is still broken as of v0.4.4.The problem was first reported at: chipkent/DataFrameTools.jl#14
The problem can be reproduced by running
docker run -it julia:1.6
:Error:
The text was updated successfully, but these errors were encountered: