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

Invalid nested window aggregate query with alias

    XMLWordPrintableJSON

Details

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

    Description

      The following query should fail but does not!

      SELECT max(sum(sal)) OVER (partition by deptno) AS maxSal
      FROM emp
      WHERE deptno > 10;
      

      Attachments

        Activity

          People

            gparai Gautam Parai
            gparai Gautam Parai
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: