You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by "Julian Hyde (JIRA)" <ji...@apache.org> on 2014/06/22 21:47:24 UTC

[jira] [Created] (OPTIQ-309) WITH ... ORDER BY query gives AssertionError

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)