XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.3.0
    • PTF-Windowing
    • None

    Description

        /*
         * - A Window Frame that has only the /start/boundary, then it is interpreted as:
               BETWEEN <start boundary> AND CURRENT ROW
         * - A Window Specification with an Order Specification and no Window
         *   Frame is interpreted as:
               ROW BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW
         * - A Window Specification with no Order and no Window Frame is interpreted as:
               ROW BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING
         */
      

      The comments in WindowSpec above doesn't really match what it's claimed to do. Correct the comment to reduce the confusion.

      Also currently the window type is specified on each BoundarySpec but makes sense to put the type (rows or range) for each window.

      Attachments

        1. HIVE-15518.4.patch
          146 kB
          Aihua Xu
        2. HIVE-15518.3.patch
          143 kB
          Aihua Xu
        3. HIVE-15518.2.patch
          138 kB
          Aihua Xu
        4. HIVE-15518.1.patch
          58 kB
          Aihua Xu

        Activity

          People

            aihuaxu Aihua Xu
            aihuaxu Aihua Xu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: