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

pipeline builder doesn't support ISODate

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.14.0, 1.15.0
    • Affects Version/s: None
    • None
    • Environment:
      Compass 1.14.0-beta.2 in Windows 10.
    • Sprint Xzibit

      This affects 1.14.0-beta.2, which is not listed in the dropdown.

      If we're searching the m101 cluster in 100YWeatherSmall.data for

      {
        ts: ISODate("1984-01-01T00:00:00Z")
      }

      that will return 584 documents. But if we try to use the same query in a $match stage in the Aggregation pipeline builder, the builder won't let us preview the data because

      > Expected "[" or AggregationStage but "{" found.

      Both query & aggregation work in the mongo shell.

      There don't appear to be any relevant messages in the browser console. Please let us know if you need any more information to debug this.

            Assignee:
            alena.khineika@mongodb.com Alena Khineika
            Reporter:
            amit.jain@mongodb.com Amit Jain
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: