Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-309

WITH ... ORDER BY query gives AssertionError

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.8
    • None
    • None

    Description

      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.

      with emp2 as (select * from emp)
      select * from emp2
      order by deptno
      

      Attachments

        Issue Links

          Activity

            People

              julianhyde Julian Hyde
              julianhyde Julian Hyde
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: