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

Introducing WindowReduceExpressionRule

    XMLWordPrintableJSON

Details

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

    Description

      Introducing WindowExpressionRules, for example:
      select sum(sal) over (partition by deptno order by sal) from src where sal=5000
      can be reduced to
      select sum(5000) over (partition by deptno) from src where sal=5000

      Attachments

        Issue Links

          Activity

            People

              Chunwei Lei Chunwei Lei
              Chunwei Lei Chunwei Lei
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h
                  2h