[ 
https://issues.apache.org/jira/browse/OPTIQ-309?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Hyde resolved OPTIQ-309.
-------------------------------

    Resolution: Fixed

Fixed in 
https://github.com/julianhyde/optiq/commit/a1557c2927b446feebc1895208fc7a84451e2e95
 with some extra tests in 
https://github.com/julianhyde/optiq/commit/347eabdd6ea600bcd17df607bdae90ea57ea221a.

> WITH ... ORDER BY query gives AssertionError
> --------------------------------------------
>
>                 Key: OPTIQ-309
>                 URL: https://issues.apache.org/jira/browse/OPTIQ-309
>             Project: optiq
>          Issue Type: Bug
>            Reporter: Julian Hyde
>            Assignee: Julian Hyde
>
> A query that has both a WITH clause and an ORDER BY clause gives an assertion 
> error. TPC-DS query #1 reproduces, as does the following simple test case.
> {code:sql}
> with emp2 as (select * from emp)
> select * from emp2
> order by deptno
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to