Uploaded image for project: 'Metron (Retired)'
  1. Metron (Retired)
  2. METRON-931

Stellar REDUCE incorrectly returns null for fewer than 3 items in list

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Done
    • Major
    • Resolution: Done
    • None
    • 0.4.0
    • None

    Description

      Examples:

      OK:

      h1 := REDUCE(['foo', 'bar', 'baz'], (s, x) -> HLLP_ADD(s, x), HLLP_INIT(5, 6))
      s1 := REDUCE([1,2,3], (s, x) -> STATS_ADD(s, x), STATS_INIT())
      

      Not OK:

      h1 := REDUCE(['foo', 'bar'], (s, x) -> HLLP_ADD(s, x), HLLP_INIT(5, 6))
      s1 := REDUCE([1,2], (s, x) -> STATS_ADD(s, x), STATS_INIT())
      

      Attachments

        Issue Links

          Activity

            People

              mmiklavcic Michael Miklavcic
              mmiklavcic Michael Miklavcic
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: