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

pipeline builder doesn't support ISODate

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.14.0, 1.15.0
    • Labels:
      None
    • Environment:
      Compass 1.14.0-beta.2 in Windows 10.
    • # Replies:
      0
    • Last comment by Customer:
      true
    • Sprint:
      Sprint Xzibit

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              alena.khineika Alena Khineika
              Reporter:
              amit.jain Amit Jain
              Participants:
              Last commenter:
              Jessica Sigafoos
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since reply:
                1 year, 44 weeks, 3 days ago
                Date of 1st Reply: