标签: mongodb apache-spark
尽管我将Geonear定义为聚合管道中的第一阶段,以使用MongoDB Spark Connector来过滤RDD(我遵循this示例)
Geonear
MongoDB Spark Connector
我收到以下错误消息:
"$geoNear is only valid as the first stage in a pipeline.", "code":40602, "codename": "Location40602"。
"$geoNear is only valid as the first stage in a pipeline.", "code":40602, "codename": "Location40602"