Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-14338

Investigate changes in SERVER-54907: Add translation logic for $derivative executor

    XMLWordPrintableJSON

Details

    Description

      Description

      Downstream Change Summary

      ($derivative is new in 5.0 as part of the Window Functions project, so this is a breaking change only for internal users.)

      We made a small syntax change vs the Syntax doc: $derivative requires an explicit 'window' argument. Other window functions that accept a 'window' default to [unbounded, unbounded], but we thought this might be confusing default for $derivative.

      Description of Linked Ticket

      SERVER-54233 adds a new executor type for $derivative, but its not currently hooked up to the front end. The two main tasks for this ticket are to (1) register a $derivative parser and parse tree representation (window_function::Expression) and (2) build the new executor when appropriate. Then we should be able to write JS tests for the derivative function as well.

      Scope of changes

      Impact to Other Docs

      MVP (Work and Date)

      Resources (Scope or Design Docs, Invision, etc.)

      Attachments

        Activity

          People

            jason.price@mongodb.com Jason Price
            backlog-server-pm Backlog - Core Eng Program Management Team
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              2 years, 44 weeks, 1 day ago