[teiid-issues] [JBoss JIRA] Updated: (TEIID-251) Support SQL 2003 order by with expressions

Steven Hawkins (JIRA) jira-events at lists.jboss.org
Thu Jul 16 12:42:29 EDT 2009


     [ https://jira.jboss.org/jira/browse/TEIID-251?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steven Hawkins updated TEIID-251:
---------------------------------

    Fix Version/s: 6.3.0
                       (was: 6.2.0)


Even though this was recently requested by a customer, I'm pushing back to 6.3.  We cannot directly support at the connector level since order by items only allow element or alias references.  The workaround (which is what the patch implements in the rewriter) is to write the query in the for of select ... from (select ..., expr as x, expr as y ) ... order by ..., x, y

> Support SQL 2003 order by with expressions
> ------------------------------------------
>
>                 Key: TEIID-251
>                 URL: https://jira.jboss.org/jira/browse/TEIID-251
>             Project: Teiid
>          Issue Type: Feature Request
>          Components: Query Engine
>    Affects Versions: 6.0.0
>            Reporter: Steven Hawkins
>            Assignee: Steven Hawkins
>            Priority: Optional
>             Fix For: 6.3.0
>
>         Attachments: sort_expression.patch
>
>   Original Estimate: 2 days
>  Remaining Estimate: 2 days
>
> Defect Tracker #25000: SQL 2003 allows the order by clause to contain expressions instead of just simple simple symbol names.  Since we already support expressions in the group by clause (which is actually against the SQL spec), it would make since to support expressions in the order by as well.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the teiid-issues mailing list