#36361: Grouping by date/datetime/time subfields then aggregating causes the sql
compiler to explode
-------------------------------------+-------------------------------------
     Reporter:  Lily A. N.           |                     Type:  Bug
       Status:  new                  |                Component:  Database
                                     |  layer (models, ORM)
      Version:  5.2                  |                 Severity:  Normal
     Keywords:                       |             Triage Stage:
                                     |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
 example:

 {{{
 Foo.objects.values('date__year','val').annotate(total=models.Sum('val'))
 }}}
-- 
Ticket URL: <https://code.djangoproject.com/ticket/36361>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/django-updates/010701968388c63d-387f4b1a-1a21-4bc0-98d4-fb4ea72161c9-000000%40eu-central-1.amazonses.com.

Reply via email to