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

pipeline sql failed

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Critical - P2
    • Resolution: Works as Designed
    • 2.3.1
    • None
    • API
    • None
    • mongodb 3.4.2

    Description

      mongo version 3.4.2
      mongo-spark-connector 2.3.2 also 2.4.0
      use MongoSpark.load(sparkSession.sparkContext).withPipeline

      { $match: { createDate :

      { $gte : 1466956800000,$lte : 1467043200000}

      } }
      but send to mongo is
      [{ "$match" : { "createData" : { "$gte" :

      { $numberLong : "1466956800000" }

      , "$lte" : { $numberLong : "1467043200000" } } } }]

      can't find any data

      Attachments

        Activity

          People

            ross@mongodb.com Ross Lawley
            robert.e.yu Robert Yu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: