[DOCS-15355] [Spark Connector] Invalid example for spark connector Created: 24/May/22  Updated: 29/Oct/23  Resolved: 31/May/22

Status: Closed
Project: Documentation
Component/s: Spark Connector
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Critical - P2
Reporter: Kit Yam Tse Assignee: Zachary Carr
Resolution: Fixed Votes: 0
Labels: None
Σ Remaining Estimate: Not Specified Remaining Estimate: Not Specified
Σ Time Spent: Not Specified Time Spent: Not Specified
Σ Original Estimate: Not Specified Original Estimate: Not Specified

Issue Links:
Related
is related to SPARK-349 Can't stream to csv from mongodb Closed
Sub-Tasks:
Key
Summary
Type
Status
Assignee
DOCS-15379 Backport to v10.0 Sub-task Closed Zachary Carr  
Participants:
Days since reply: 1 year, 37 weeks, 1 day ago
Epic Link: DOCSP-18817
Story Points: 3

 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.


Generated at Thu Feb 08 08:12:40 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.