Uploaded image for project: 'Spark Connector'
  1. Spark Connector
  2. SPARK-231

Geonear Pipeline stage does not work

    • Type: Icon: Bug Bug
    • Resolution: Works as Designed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.4.0
    • Component/s: None
    • Labels:
      None

      Despite the fact that I define the Geonear as the first stage in the aggregation pipeline to filter an RDD by using the MongoDB Spark Connector (I followed this  example)

      I am getting the following error message:

      "$geoNear is only valid as the first stage in a pipeline.", "code":40602, "codename": "Location40602".

            Assignee:
            ross@mongodb.com Ross Lawley
            Reporter:
            nickkoutr Nikolaos Koutroumanis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: