[teiid-issues] [JBoss JIRA] (TEIID-3253) Expand allowed order by expressions

Steven Hawkins (JIRA) issues at jboss.org
Fri Jan 16 17:11:49 EST 2015


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

Steven Hawkins resolved TEIID-3253.
-----------------------------------
    Fix Version/s: 8.10
       Resolution: Done


Updated the resolving logic to allow for values from the grouping columns.

> Expand allowed order by expressions
> -----------------------------------
>
>                 Key: TEIID-3253
>                 URL: https://issues.jboss.org/browse/TEIID-3253
>             Project: Teiid
>          Issue Type: Enhancement
>          Components: Query Engine
>            Reporter: Steven Hawkins
>            Assignee: Steven Hawkins
>             Fix For: 8.10
>
>
> with a non-simple query we won't allow derived expressions in the order by such as:
> select max\(x), y from t group by y order by case when y is null then 0 else y end
> We treat this ordering as unrelated - however it is expressed in terms of expressions from the select clause.  Mondrian will generate queries of this form, which requires a workaround of modifying the dialect to use ansi null ordering.



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)


More information about the teiid-issues mailing list