[Sqlalchemy-tickets] [sqlalchemy] #2927: coalesce compiling to "Annotatedcoalesce" in SQL
Brought to you by:
zzzeek
|
From: sqlalchemy <mi...@zz...> - 2014-01-29 20:39:28
|
#2927: coalesce compiling to "Annotatedcoalesce" in SQL
---------------------------------+-----------------------------------------
Reporter: | Owner: zzzeek
orutherfurd_carnegie | Status: new
Type: defect | Milestone: 0.9.xx
Priority: medium | Severity: no triage selected yet
Component: orm | Progress State: awaiting triage
Keywords: |
---------------------------------+-----------------------------------------
I have a query that does
{{{sqlalchemy.func.lower(sqlalchemy.func.coalesce(a, b))}}}. In 0.9.x,
the generated SQL is "ORDER BY lower(Annotatedcoalesce(" whereas in 0.8.4
it's "ORDER BY lower(coalesce(".
--
Ticket URL: <http://www.sqlalchemy.org/trac/ticket/2927>
sqlalchemy <http://www.sqlalchemy.org/>
The Database Toolkit for Python
|