Add Multiple Schemas¶
This guide walks you through creating several source datastores at once on the Add Datastore page: you select more than one schema (or database, or folder) from a single connection, and Qualytics creates one datastore for each. To add a single datastore, see Add Source Datastore. For how the flow works, see Multiple-Schema Creation; for the API, see Multi-Schema Creation.
Supported connectors
Multi-schema creation is available on every JDBC connector, on the AWS Glue Native, Hive Native, MongoDB, and Unity Catalog Native connectors, and, with folders instead of schemas, on the DFS connectors. Salesforce creates one datastore per connection. See Supported Connectors for the catalog and schema fields of each connector.
Permissions
Multi-schema creation needs the Manager role and the Editor team permission in at least one of the teams you assign. See Permissions.
Steps¶
Step 1: Click Add at the top-right of the Datastores page and choose Source .
Step 2: Select New Connection next to the search field and select your connector from the grid, or select Existing Connection and pick a saved connection.
Step 3: For a new connection, fill in the Connection Properties: a Connection Name that other datastores can reuse later, the connector's connection fields, and optionally Secrets Management. A saved connection comes already filled in and read-only.
Step 4: In Location, if the connector has a catalog level, select it first (for example, the Database on PostgreSQL or the Project ID on BigQuery). Click the refresh icon next to a field to reload its options from the connection.
Step 5: Select two or more schemas in the schema field (labeled Schema, Database, or Dataset ID, depending on the connector). On a DFS connector, select two or more folders in Root Path. A schema that already has a datastore shows a warning icon; selecting it creates a second datastore for the same schema.
Step 6: With more than one selected, Name becomes Name Template. On a JDBC or Native connector, enter a pattern with the {{schema}} placeholder, such as prod_{{schema}}. On a DFS connector, use {{path}} (the full path) or {{path_segment}} (its last folder), such as prod_{{path_segment}}. A preview below the field shows the names the first datastores will get.
Step 7: Fill in the General fields: optionally a Group, the Teams to assign to every new datastore, and Initiate Sync to sync each one right after it is created.
Step 8: Click Test connection. The test runs once per selected schema and reports each result, so you can see which schemas have issues before you continue.
Step 9: Click Finish to create the datastores.
Tip
To link all the new datastores to one enrichment destination, click Next instead of Finish. Each datastore gets its own prefix in the destination, which you can change under Edit prefixes before you finish. See Link Enrichment on Datastore Creation.
Step 10: Qualytics creates one datastore per selected schema and lists any schema that could not be created, with the reason. If Initiate Sync was selected, a Sync starts on each new datastore.