Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-1660 Implement missing math built-in functions
  3. PHOENIX-1987

SIGN built-in function should be order preserving

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.5.0, 4.4.1
    • None
    • None

    Description

      The SIGN built-in function preserves the order of its input. This needs to be explicitly implemented in SignFunction by implementing the following method:

          public OrderPreserving preservesOrder() {
              return OrderPreserving.YES;
          }
      

      This will allow certain optimizations reducing the amount of memory and/or buffering that is required if SIGN is used in a GROUP BY or ORDER BY clause.

      Attachments

        Activity

          People

            shuxi0ng Shuxiong Ye
            jamestaylor James R. Taylor
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: