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

Improve $sigmoid error handling

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Integration

      The $sigmoid expression is the first expression to be implemented as syntactic sugar for nested expressions. See SERVER-92121.

      Thus any inputs that are other fields or are expressions themselves will only be resolved at runtime and will be seen first by the inner most $multiply. This means any errors will be handled by $multiply, which might confuse users who do not know about our implementation details. 

      We should create a solution so that the error thrown is specific to $sigmoid and not any of it's nested expressions. 

            Assignee:
            Unassigned Unassigned
            Reporter:
            kyra.rameshkrishna@mongodb.com Kyra Ramesh Krishna (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: