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

Selecting individual int32 value after schema analysis generates incorrect query in filter

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.19.12, 1.20.4
    • Affects Version/s: 1.12.0, 1.12.1, 1.16.0
    • Component/s: Compass, Query Bar, Schema
    • None

      In many cases, the Compass schema analysis will display a bar chart for int32 fields. Clicking on a bar correctly generates the range query for that bar.

      Sometimes, the schema analysis shows a selection of individual values for the int32 field. In Compass 1.12.0, clicking one of those individual values generates an incorrect query in the filter bar similar to:

      {passenger_id: NumberInt{'[object Object]')}

      When this happens, the "Filter" label turns red and "Analyze" button is greyed out and blocked.

            Assignee:
            Unassigned Unassigned
            Reporter:
            brian.blevins@mongodb.com Brian Blevins
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: