Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-53702

Error when window function partitionBy evaluates to an array

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.9.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Query Optimization 2021-02-22

      Since our plan for window functions is to implement partitioning via sorting, we should raise an error whenever the partitionBy expression evaluates to an array. (Because $sort compares arrays by their min or max element.)

            Assignee:
            hartek.sabharwal@mongodb.com Hartek Sabharwal
            Reporter:
            david.percy@mongodb.com David Percy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: