Block API cellFoldValues_F should process non-boolean values

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Execution
    • Fully Compatible
    • ALL
    • QE 2024-02-05
    • 156
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Currently cellFoldValues_F has a check that the data to be processed is made of all boolean values. However, the scalar counterpart, traverseF, can return non boolean values (e.g. when it is applied to a non-array value and the lambda returns non-boolean, i.e. Nothing) or handle non boolean values coming from the lambda (that are treated as "false")

      e.g.

      coll.aggregate([
                  { $match: { "time": { $in: [[new Date("2019-09-27T21:14:45.654Z")]] } } }, { $group: { _id: null } }]
              )
      

              Assignee:
              Alberto Massari
              Reporter:
              Alberto Massari
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: