Julian Hyde created OPTIQ-309:
---------------------------------

             Summary: 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