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

[Spark Connector] Invalid example for spark connector

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Critical - P2 Critical - P2
    • None
    • Affects Version/s: None
    • Component/s: Spark Connector
    • Labels:
      None

      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.

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

              Created:
              Updated:
              Resolved:
              1 year, 48 weeks, 1 day ago