Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-8088

Response Given By aggregation in compass was different then the result given by the same aggregation in mongo sheel in

    • Type: Icon: Bug Bug
    • Resolution: Incomplete
    • Priority: Icon: Major - P3 Major - P3
    • No version
    • Affects Version/s: None
    • Component/s: None
    • None
    • Environment:
      OS:
      node.js / npm versions:
      Additional info:
    • Developer Tools
    • Not Needed

      Problem Statement/Rationale

      What is going wrong? What action would you like the Engineering team to take?
      The problem is that we were applying aggregation queries in compass it was some result but when we were applying the same aggregation via code tested with 2 languages node js and java the result was way different we spent our half day thinking it was our issue but we applied the same aggregation in compass mongo shell it gave the same result which we got in our codes so the visual count was wrong which wasted our a lot of time 

      Please be sure to attach relevant logs with any sensitive data redacted.
      How to retrieve logs for: Compass; Shell

      Steps to Reproduce

      How could an engineer replicate the issue you're reporting?
      I believe it is a issue on grouping whenever i grouped on something it was giving wrong answers in compass visual aggregation applier and right answers in code and mongo shell

      Expected Results

      What do you expect to happen?

      expectation was to get the same number everywhere after aggregation was applied 

      Actual Results

      What do you observe is happening?
      The result numbers were different 

      Additional Notes

      Any additional information that may be useful to include.

        1. 66927d91acf4613c03ae96f4_log.gz
          12 kB
          Manthan N/A
        2. Screenshot 2024-07-13 191015.png
          175 kB
          Manthan N/A

            Assignee:
            himanshu.singh@mongodb.com Himanshu Singh
            Reporter:
            manthanbhatia367@gmail.com Manthan N/A
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: