Skip to content
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

thawing a freezed Column returns a Map #298

Closed
daslu opened this issue May 3, 2022 · 0 comments
Closed

thawing a freezed Column returns a Map #298

daslu opened this issue May 3, 2022 · 0 comments

Comments

@daslu
Copy link

daslu commented May 3, 2022

Serializing/Desirializing Columns with Nippy generates surprising results:

$ clj -Sdeps '{:deps {techascent/tech.ml.dataset {:mvn/version "6.085"}}}'
Clojure 1.10.3

user=> (require '[taoensso.nippy :as nippy]
         '[tech.v3.dataset]
         '[tech.v3.dataset.column :as column])

nil

user=> (-> (range 4)
    column/new-column
    nippy/freeze
    nippy/thaw)

#:tech.v3.dataset{:name nil, :missing {}, :force-datatype? true, :data #array-buffer<int64>[4]
[0, 1, 2, 3]}

user=> (-> (range 4)
    column/new-column
    nippy/freeze
    nippy/thaw
    type)

clojure.lang.PersistentArrayMap
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant