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

The GeneratedTupleAggregator is not recognized #733

Open
nasrbel opened this issue Oct 19, 2019 · 2 comments
Open

The GeneratedTupleAggregator is not recognized #733

nasrbel opened this issue Oct 19, 2019 · 2 comments

Comments

@nasrbel
Copy link

nasrbel commented Oct 19, 2019

Hello world ,

I am trying to use the source code of Algebird by taking only he packages algebird, matrix , mutable and macros. My goal is to create a dense matrix from scratch using the scala programming language without calling ( com.twitter.algebird ). However I found a problem in the aggregator.scala; the aggregator has no an instance fromMonoid ( the object fromMonoid[T], fromMonoid[F,T] re already defined in the class aggregator.scala ) . Another problem is that the GeneratedTupleAggregator is not recognized. By the way I have copied the scala class GeneratedTupleAggregator in a package "project". If any person is familiar with that, please recommand a solution for me.

Thanks

@johnynek
Copy link
Collaborator

I'm not 100% clear what you are trying to do.

Can you be clearer why you don't want to use the published binary jars?

Aggregator.fromMonoid is defined here:

def fromMonoid[T](implicit mon: Monoid[T]): MonoidAggregator[T, T, T] =

GenTupleAggregators.gen((sourceManaged in Compile).value)

Using this scala code as a code generator: https://github.com/twitter/algebird/blob/develop/project/GenTupleAggregators.scala

It sounds like you are trying to make a new build, and possibly change the source and would like support for that. I doubt that your questions will have much to do with this project in particular, and you can ask for support on general scala support groups (irc, gitter, discord, slack, etc...) I will not have time to support.

@nasrbel
Copy link
Author

nasrbel commented Oct 19, 2019

Hey Johnynek ,

Thanks for your response. I do appreciate that. Yes i do want to make a new build. What I need is to create denseMatrix that is it. The package algebid-core is sufficient for me. I am already using the class aggregator where the "GeneratedTupleAggregator " is not recognized. I don't know if I have to copy the GeneratedTupleAggregator.scala to the project file or I have to use the same build.sbt file used by the developpers of algebird-twitter.

Thanks,

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

2 participants