![]() ![]() The maximum number of connections allowed per host for this MongoClient instance. This property is optional the default is 0. Those connections are kept in a pool when idle, and the pool ensures over time that it contains at least this minimum number. The minimum number of connections per host for this MongoClient instance. This property is optional the default is false. Match database and collection names case insensitively. ![]() This property is optional the default is _schema. Please refer the Table definition section for the details.Ĭreating new tables using CREATE TABLE and CREATE TABLE AS SELECT automatically create an entry for you. In that case, you need to modify it manually. The initial guess can be incorrect for your specific collection. Please refer the Table definition section for the details.Īt startup, the connector tries to guess the data type of fields based on the type mapping. ![]() So a special collection in each MongoDB database should define the schema of all tables. mongodb.schema-collection #Īs MongoDB is a document database, there is no fixed schema information in the system. Provided to connect to a MongoDB deployment. This property is required there is no default. See the MongoDB Connection URI for more information. The user/pass credentials must be for a user with write access to the The number of elements to return in a batchĪ connection string containing the protocol, credential, and host info for useįor example, the connection string may use the depending on the protocol Use TLS/SSL for connections to mongod/mongos The maximum idle time of a pooled connection The maximum size of the connection pool per host The minimum size of the connection pool per host Match database and collection names case insensitively The connection url that the driver uses to connect to a MongoDB deploymentĪ collection which contains schema information The following configuration properties are available: Will create a catalog named sales using the configured connector. ForĮxample, if you name the property file sales.properties, Trino With a different name, making sure it ends in. MongoDB clusters, simply add another properties file to etc/catalog You can have as many catalogs as you need, so if you have additional query(database, collection, filter) -> table. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |