#21251: Not all database backends support grouping by a column number
-------------------------------------+-------------------------------------
     Reporter:  manfre               |                    Owner:  manfre
         Type:  New feature          |                   Status:  new
    Component:  Database layer       |                  Version:  master
  (models, ORM)                      |               Resolution:
     Severity:  Normal               |             Triage Stage:
     Keywords:  mssql                |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by russellm):

 * needs_better_patch:   => 0
 * needs_tests:   => 0
 * needs_docs:   => 0


Comment:

 I'm moderately surprised that Django does this -- firstly because I wasn't
 aware it was valid SQL in the first place, but secondly because I don't
 remember implementing anything like that when I committed the aggregation
 codebase. It's entirely possible something has changed since I last looked
 at the code, but it doesn't strike me as a very "Django" thing to find in
 a codebase.

 Can you give a specific example of a query (ideally one in Django's test
 suite) that does this?

-- 
Ticket URL: <https://code.djangoproject.com/ticket/21251#comment:1>
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.70e8b34b77554a0ec363e556a504a117%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to