Open clojurians-org opened 7 years ago
What's your setup? I tested with spark 2.10 in local and standalone cluster and it worked, I get [[:b [4 7]] [:a [3 5]]]
.
i run it in standalone mode in spark 2.10.
it's not about run without right result. rather than, after you got result, the var a turn into the unbound
(def a => #object[clojure.lang.Var$Unbound 0x31ee0bf8 "Unbound: #'bolome.ods.d_bolome_product_category/a"]
(->> (keg/join (keg/by-key [[:a 3] [:b 4]]) :or nil (keg/by-key [[:a 5] [:b 7]]) :or nil)
.cache))
when i run the following code, i get var a, then i run "into" on it. it say: Warning: can't serialize #'bolome.ods.d_bolome_product_category/a it won't be sent to workers then the var a turn into unbound var.