Fork me on GitHub
#data-science
<
2023-11-13
>
uwo18:11:20

Howdy data-science. Posting here 'cause I don't know if there's a better place to ask. Playing around with ham-fisted and ran into class ham_fisted.UnsharedHashMap cannot be cast to class ham_fisted.Reducible, while running this (see snippet). Any ideas what could be going on here?

chrisn19:11:31

Yes - I think the frequencies impl is broken honestly.

chrisn19:11:44

I think that is a bug - the reducible part should be a union operation of some sort.

chrisn19:11:10

will fix in next couple hours - the fix is to update the frequencies reducer to call union with reducible merge as the merge-fn.

chrisn20:11:41

Fixed in 2.013

❤️ 2
2
uwo20:11:33

holy moley! Sweet, thanks!

uwo18:11:14

The error doesn't occur immediately, for instance if I call (take 100) prior to frequencies.