Re: [Django] #12890: extra() tables included twice do not generate aliases

7 views
Skip to first unread message

Django

unread,
May 19, 2011, 1:33:38 AM5/19/11
to django-...@googlegroups.com
#12890: extra() tables included twice do not generate aliases
-------------------------------------+-------------------------------------
Reporter: semenov | Owner: nobody
Type: Bug | Status: new
Milestone: | Component: Database layer
Version: 1.1 | (models, ORM)
Resolution: | Severity: Normal
Triage Stage: Accepted | Keywords:
Needs documentation: 0 | Has patch: 0
Patch needs improvement: 0 | Needs tests: 0
| Easy pickings: 0
-------------------------------------+-------------------------------------
Changes (by anonymous):

* easy: => 0


Comment:

I'm still waiting to hear back on this patch...would the core contributors
respond more quickly to a 1.3 patch? I'd just like some word on whether
this will be rolled into the core or not. Thanks.

--
Ticket URL: <https://code.djangoproject.com/ticket/12890#comment:6>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
May 31, 2011, 3:37:46 AM5/31/11
to django-...@googlegroups.com
#12890: extra() tables included twice do not generate aliases
-------------------------------------+-------------------------------------
Reporter: semenov | Owner: nobody
Type: Bug | Status: new
Milestone: | Component: Database layer
Version: 1.2 | (models, ORM)
Resolution: | Severity: Normal
Triage Stage: | Keywords:
Unreviewed | Has patch: 1
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
-------------------------------------+-------------------------------------
Changes (by daveycrockett):

* has_patch: 0 => 1
* version: 1.1 => 1.2
* stage: Accepted => Unreviewed


--
Ticket URL: <https://code.djangoproject.com/ticket/12890#comment:7>

Django

unread,
May 31, 2011, 3:39:36 AM5/31/11
to django-...@googlegroups.com
#12890: extra() tables included twice do not generate aliases
-------------------------------------+-------------------------------------
Reporter: semenov | Owner: nobody
Type: Bug | Status: new
Milestone: | Component: Database layer
Version: 1.2 | (models, ORM)
Resolution: | Severity: Normal
Triage Stage: | Keywords:
Unreviewed | Has patch: 1
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
-------------------------------------+-------------------------------------
Changes (by daveycrockett):

* cc: daveycrockett (added)


--
Ticket URL: <https://code.djangoproject.com/ticket/12890#comment:8>

Django

unread,
May 31, 2011, 4:18:06 AM5/31/11
to django-...@googlegroups.com
#12890: extra() tables included twice do not generate aliases
-------------------------------------+-------------------------------------
Reporter: semenov | Owner: nobody
Type: Bug | Status: new
Milestone: | Component: Database layer
Version: 1.2 | (models, ORM)
Resolution: | Severity: Normal
Triage Stage: Accepted | Keywords:
Needs documentation: 0 | Has patch: 1
Patch needs improvement: 0 | Needs tests: 0
| Easy pickings: 0
-------------------------------------+-------------------------------------
Changes (by russellm):

* stage: Unreviewed => Accepted


Comment:

Reverting stage change. Ticket has already been accepted. The Unreviewed
state refers to that triage status of the ticket, not the review status of
an individual patch.

--
Ticket URL: <https://code.djangoproject.com/ticket/12890#comment:9>

Django

unread,
Jun 6, 2011, 12:52:45 PM6/6/11
to django-...@googlegroups.com
#12890: extra() tables included twice do not generate aliases
-------------------------------------+-------------------------------------
Reporter: semenov | Owner: nobody
Type: Bug | Status: new
Milestone: | Component: Database layer
Version: 1.2 | (models, ORM)
Resolution: | Severity: Normal
Triage Stage: Accepted | Keywords:
Needs documentation: 0 | Has patch: 1
Patch needs improvement: 0 | Needs tests: 0
| Easy pickings: 0
-------------------------------------+-------------------------------------

Comment (by daveycrockett):

Thank you for the insight on the django ticketing process?

I now understand that the ticket itself has been "reviewed" and "accepted"
as a legitimate bug. My next question would be when will the patch be
"reviewed"?

--
Ticket URL: <https://code.djangoproject.com/ticket/12890#comment:10>

Django

unread,
Jun 6, 2011, 2:07:01 PM6/6/11
to django-...@googlegroups.com
#12890: extra() tables included twice do not generate aliases
-------------------------------------+-------------------------------------
Reporter: semenov | Owner: nobody
Type: Bug | Status: new
Milestone: | Component: Database layer
Version: 1.2 | (models, ORM)
Resolution: | Severity: Normal
Triage Stage: Accepted | Keywords:
Needs documentation: 0 | Has patch: 1
Patch needs improvement: 1 | Needs tests: 1
| Easy pickings: 0
-------------------------------------+-------------------------------------
Changes (by lukeplant):

* needs_better_patch: 0 => 1
* needs_tests: 0 => 1


Comment:

Replying to [comment:10 daveycrockett]:


> I now understand that the ticket itself has been "reviewed" and
"accepted" as a legitimate bug. My next question would be when will the
patch be "reviewed"?

Reviewing is done by the community, and we can't make guarantees about
that I'm afraid. Please see
https://docs.djangoproject.com/en/dev/internals/contributing/ or ask on
django-devs for other questions about this process.

However, I can tell you right now that the patch needs some work,
particularly because it has no tests, and will not get in without them.
That would help in reviewing. It also needs to be in unified diff format -
you have to manually edit it just to even attempt to apply it without
that. It must apply to trunk as well - I've no idea if it does or not.

--
Ticket URL: <https://code.djangoproject.com/ticket/12890#comment:11>

Django

unread,
Jun 21, 2011, 9:03:55 AM6/21/11
to django-...@googlegroups.com
#12890: extra() tables included twice do not generate aliases
-------------------------------------+-------------------------------------
Reporter: semenov | Owner: daveycrockett
Type: Bug | Status: new
Milestone: | Component: Database layer
Version: 1.3 | (models, ORM)
Resolution: | Severity: Normal
Triage Stage: Accepted | Keywords:
Needs documentation: 0 | Has patch: 1
Patch needs improvement: 1 | Needs tests: 1
UI/UX: 0 | Easy pickings: 0
-------------------------------------+-------------------------------------
Changes (by daveycrockett):

* owner: nobody => daveycrockett
* ui_ux: => 0
* version: 1.2 => 1.3


Comment:

This bug also manifests in 1.3, supplied patches for both 1.2.5 and 1.3
with tests!

--
Ticket URL: <https://code.djangoproject.com/ticket/12890#comment:12>

Django

unread,
Jul 8, 2011, 9:48:34 AM7/8/11
to django-...@googlegroups.com
#12890: extra() tables included twice do not generate aliases
-------------------------------------+-------------------------------------
Reporter: semenov | Owner: daveycrockett
Type: Bug | Status: new
Milestone: | Component: Database layer
Version: 1.3 | (models, ORM)
Resolution: | Severity: Normal
Triage Stage: Accepted | Keywords:
Needs documentation: 0 | Has patch: 0
Patch needs improvement: 1 | Needs tests: 1
UI/UX: 0 | Easy pickings: 0
-------------------------------------+-------------------------------------
Changes (by anonymous):

* has_patch: 1 => 0


--
Ticket URL: <https://code.djangoproject.com/ticket/12890#comment:13>

Django

unread,
Jul 8, 2011, 9:49:10 AM7/8/11
to django-...@googlegroups.com
#12890: extra() tables included twice do not generate aliases
-------------------------------------+-------------------------------------
Reporter: semenov | Owner: daveycrockett
Type: Bug | Status: new
Milestone: | Component: Database layer
Version: 1.3 | (models, ORM)
Resolution: | Severity: Normal
Triage Stage: Accepted | Keywords:
Needs documentation: 0 | Has patch: 1
Patch needs improvement: 0 | Needs tests: 1
UI/UX: 0 | Easy pickings: 0
-------------------------------------+-------------------------------------
Changes (by anonymous):

* needs_better_patch: 1 => 0

* has_patch: 0 => 1


--
Ticket URL: <https://code.djangoproject.com/ticket/12890#comment:14>

Django

unread,
Sep 20, 2011, 5:47:52 PM9/20/11
to django-...@googlegroups.com
#12890: extra() tables included twice do not generate aliases
-------------------------------------+-------------------------------------
Reporter: semenov | Owner: daveycrockett
Type: Bug | Status: new
Milestone: | Component: Database layer
Version: 1.3 | (models, ORM)
Resolution: | Severity: Normal
Triage Stage: Accepted | Keywords:
Needs documentation: 0 | Has patch: 1
Patch needs improvement: 0 | Needs tests: 1
UI/UX: 0 | Easy pickings: 0
-------------------------------------+-------------------------------------
Changes (by miracle2k):

* cc: michael@… (added)


--
Ticket URL: <https://code.djangoproject.com/ticket/12890#comment:15>

Django

unread,
Aug 19, 2013, 7:57:25 AM8/19/13
to django-...@googlegroups.com
#12890: extra() tables included twice do not generate aliases
-------------------------------------+-------------------------------------
Reporter: semenov | Owner:
Type: Bug | daveycrockett
Component: Database layer | Status: new
(models, ORM) | Version: 1.3
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted

Has patch: 1 | Needs documentation: 0
Needs tests: 1 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------

Comment (by akaariai):

The proposed patch will cause backwards incompatibilities.

I think the way to implement this is to have explicit alias syntax,
something like .extra(tables=[('queries_nestednode', 'T1')]). I am not too
happy to add more .extra() features as it would be better to replace the
whole thing with something better. But it has been some time and that
something better isn't implemented yet, so a little patch to .extra()
could be accepted.

--
Ticket URL: <https://code.djangoproject.com/ticket/12890#comment:16>

Django

unread,
Aug 4, 2015, 6:47:25 PM8/4/15
to django-...@googlegroups.com
#12890: extra() tables included twice do not generate aliases
-------------------------------------+-------------------------------------
Reporter: semenov | Owner:
| daveycrockett
Type: Bug | Status: closed

Component: Database layer | Version: 1.3
(models, ORM) |
Severity: Normal | Resolution: wontfix
Keywords: QuerySet.extra | Triage Stage: Accepted

Has patch: 1 | Needs documentation: 0
Needs tests: 1 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by timgraham):

* keywords: => QuerySet.extra
* status: new => closed
* resolution: => wontfix


Comment:

We are no longer fixing bugs with `QuerySet.extra()` per
[https://groups.google.com/d/topic/django-
developers/FojuU0syO8Y/discussion discussion on django-developers].

--
Ticket URL: <https://code.djangoproject.com/ticket/12890#comment:17>

Reply all
Reply to author
Forward
0 new messages