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

AbstractMethodError with 5-arity kgroupedstream aggregate function #210

Open
focusaurus opened this issue Oct 29, 2019 · 0 comments
Open

Comments

@focusaurus
Copy link

If I put the 5-arg version of this into my topology:

(j/aggregate groupedstream tree-agg-init tree-agg-add tree-agg-subtract agg-topic)

I get an exception:

Execution error (AbstractMethodError) at jackdaw.streams/aggregate (streams.clj:260).
jackdaw.streams.interop.CljKGroupedStream.aggregate(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

I believe that although a 5-arity version is defined in streams.clj here, there's no corresponding interop for it here

My workaround is not to pass the subtractor fn arg which is the 4-arity flavor which works OK.

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