As I mentioned in the last thread, I've already made some progress on improving aggregates and annotations. I've submitted this PR for review https://github.com/django/django/pull/2184 and discussion here: https://groups.google.com/forum/#!topic/django-developers/8vEAwSwJGMc
Again, I'm unsure if the work I've done will eventually be committed because everyone is quite busy at the moment, though I'm hopeful. I've already completed arithmetic/F() expressions, and integration with .filter() etc. I've also done a Proof of Concept branch on Conditional Aggregates that is linked to the pull request above. I'm unsure what you mean when you say adding datetime grouping to aggregation though, would you mind expanding on that? >From my point of view, it'd be a waste to spend a full GSoC project on aggregates unless you came up with a significantly different implementation and could explain the relative benefits. That said, my PR hasn't been reviewed yet, so there may be an opportunity there. Regards, Josh On Monday, 24 February 2014 19:22:36 UTC+11, anubhav joshi wrote: > > Earlier I posted this on as a reply on the query conversation that I had > started earlier but then I didn't get any response there so I am reposting > this here. > I originally wanted to work on aggregates/annotation improvement in GSoC > and still wish the same. The issues that I want to consider are: > > Implementing arithmetic operations on aggregation/annotation. > Implementing conditional aggregates. > Fixing the errors related to the working eg. default values for > aggregations/annotations, problem in using nested statements like filter() > with them, etc > Adding datetime grouping to aggregation. > > I have started working on the above issues. Regarding the errors part I > have been able to figure out the problems. > > Also I did some surfing the net regarding implementing arithmetic > operations on aggregation.. I have found few ways: > 1.)Adding it directly. > 2.)Changing the complete implementation to f() or q() objects. > > I have yet to work on the remaining issues which I surely will. > > I want to know whether this will make up a good GSoC project. > > > Anubhav Joshi > -- You received this message because you are subscribed to the Google Groups "Django developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/django-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/796225e3-d682-4603-ba3f-67bd9bfd3939%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
