Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

D toc

D s ed
rtrue
editionsgdpent,gdppro,gdppr


D excerpt

You can create connections to MongoDB and MongoDB Atlas connections through 

D s webapp
.  These connections enable to read data from the MongoDB workspace.

...

If you are connecting

D s product
to any relational source of data, you must add the
D s item
itemService
to your whitelist for those resources. For more information, see Getting Started with Cloud Dataprep by Trifacta.

Supported Versions: n/a

Supported Environments:

...

  • Database versions: 2.6 - 5.0


Prerequisites

  • MongoDB supports basic (username/password) authentication.

Limitations

...

  • This connection is read-only.

...

PropertyDescription
Host

Name of the host.

PortSet this value to the port number through which to access MongoDB. By default, this value is 27017.
Database

The database that you want to read

Auth Database

Name of the MongoDB database used for authentication

Replica Set

(Optional) Comma-separated list of secondary servers in the replica set, specified by address and port.

replica set is a group of mongoDB processes that maintain the same data set. Replica sets provide redundancy and high availability and are the basis for all production deployments.  For more information, see https://docs.mongodb.com/manual/replication/.

Secondary ReadsEnable this checkbox if you want to read from secondary (slave) servers.
Use SSLEnable this checkbox if you want to connect using SSL.
Connect String Options

(Optional) You can specify additional options used to connect as a string value.

The following option sets the connection timeout in milliseconds:

Code Block
Timeout=0;

The default value is 0, which disables connection timeouts. See below for more information.

Test Connection

After you have defined the connection credentials type, credentials, and connection string, you can verify that the

D s webapp
can use them to connect to the database.

Default Column Data Type Inference

Set to disabled to prevent the product from applying its own type inference to each column on import. The default value is enabled.

Connection NameDisplay name of the connection
Connection Description(Optional) Description of the connection, which appears in the application.

...

To create a MongoDB Atlas connection, please specify the following properties:

PropertyDescription
Host

Name of the host.

PortSet this value to the port number through which to access MongoDB. By default, this value is 27017.
Database

The database that you want to read

Replica Set

(Optional) Comma-separated list of secondary servers in the replica set, specified by address and port.

replica set is a group of mongoDB processes that maintain the same data set. Replica sets provide redundancy and high availability and are the basis for all production deployments.  For more information, see https://docs.mongodb.com/manual/replication/.

Secondary ReadsEnable this checkbox if you want to read from secondary (slave) servers.
Connect String Options

(Optional) The option sets the connection timeout in milliseconds:

Code Block
Timeout=0;

The default value is 0, which disables connection timeouts. See below for more information.

Test Connection

After you have defined the connection credentials type, credentials, and connection string, you can verify that the

D s webapp
can use them to connect to the database.

Default Column Data Type Inference

Set to disabled to prevent the product from applying its own type inference to each column on import. The default value is enabled.

Connection NameDisplay name of the connection
Connection Description(Optional) Description of the connection, which appears in the application.

For more information on these settings, see http://cdn.cdata.com/help/RCF/jdbc/default.htm.

...

When data is imported from MongoDB, the supported data types from the source are converted to corresponding data types supported by the 

D s webapp
informaltrue
. For more information, see Type Conversions.

Source Data TypeSupported

D s item
itemdata type

ObjectIdY

String

RegExYString
StringYString
BinaryYString
IntegerYInteger
TimestampYDatetime
DoubleYFloat
ArrayYString
BoolYbool
NullYString
DateYDatetime

Write/Publish

Not supported.