#35064: Window.order_by decimal field is broken on SQLite
-------------------------------------+-------------------------------------
     Reporter:  Simon Charette       |                    Owner:  Simon
                                     |  Charette
         Type:  Bug                  |                   Status:  closed
    Component:  Database layer       |                  Version:  3.2
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:  fixed
     Keywords:                       |             Triage Stage:  Ready for
                                     |  checkin
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Comment (by Sarah Boyce <42296566+sarahboyce@…>):

 In [changeset:"602fe961e6834d665f2359087a1272e9f9806b71" 602fe96]:
 {{{#!CommitTicketReference repository=""
 revision="602fe961e6834d665f2359087a1272e9f9806b71"
 Fixed #35665 -- Fixed a crash when passing an empty order_by to Window.

 This also caused un-ordered sliced prefetches to crash as they rely on
 Window.

 Regression in e16d0c176e9b89628cdec5e58c418378c4a2436a that made
 OrderByList
 piggy-back ExpressionList without porting the empty handling that the
 latter
 provided.

 Supporting explicit empty ordering on Window functions and slicing is
 arguably
 a foot-gun design due to how backends will return undeterministic results
 but
 this is a problem that requires a larger discussion.

 Refs #35064.

 Thanks Andrew Backer for the report and Mariusz for the review.
 }}}
-- 
Ticket URL: <https://code.djangoproject.com/ticket/35064#comment:7>
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 on the web visit 
https://groups.google.com/d/msgid/django-updates/010701914b0f53ef-41d3667e-326a-4613-bdd9-66c93023e17f-000000%40eu-central-1.amazonses.com.

Reply via email to