Dependencies & cluster requirements
Dependencies & cluster requirements
Dependencies:
- ProphecyWarehousePython 0.0.1+
- ProphecyWarehouseScala 0.0.1+
- UC dedicated clusters not supported
- UC standard clusters not supported
- Livy clusters not supported
This gem uses the MongoDB Spark Connector v10.0.
To add
mongodb-spark-connector jar as a dependency, see Spark dependencies.Parameters
Source
The Source gem reads data from MongoDB and allows you to optionally specify the following additional properties.Source properties
Example
The following example configures a Source gem to read from thesample_airbnb.listingsAndReviews collection in MongoDB.
After you configure the Source gem, view schema by clicking Infer Schema in the Properties tab and view data by clicking Load inside the Preview tab.
Compiled code
Target
The Target gem writes data to MongoDB and allows you to optionally specify the following additional properties.Target properties
Supported write modes
Example
The following example configures a Target gem to write data to thesample_airbnb.listingsAndReviews collection in MongoDB.

