Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-15355

[Spark Connector] Invalid example for spark connector

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Critical - P2
    • Resolution: Fixed
    • None
    • None
    • Spark Connector
    • None

    Description

      I got an error when I tried to follow the example https://www.mongodb.com/docs/spark-connector/current/structured-streaming/#stream-to-a-csv-file-from-mongodb to write stream data from mongo to csv via mongodb-spark-connector.

      I raised a ticket to the spark team and they told me that the example provided is invalid. Write stream to CSV is not support at all.

      I think we should update the example in the doc to provide a valid example to demonstrate how to use the write stream feature of the spark connector

      A/C:

      As a reader, I see a working Spark structured streaming example in the Spark documentation.

      Attachments

        Issue Links

          Activity

            People

              zach.carr@mongodb.com Zachary Carr
              me@kytse.com Kit Yam Tse
              Zachary Carr Zachary Carr
              Ross Lawley
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                18 weeks, 3 days ago