Source and Target
Source and Target gems define how Prophecy reads and writes data in your pipeline.
There are two types of sources and targets:
When deciding between tables and external sources, consider the primary SQL connection in your Prophecy fabric. Processing tables natively in the SQL warehouse will be fast, and processing external data is slower.
Do not create an external connection that duplicates the primary SQL warehouse connection in your fabric.
Tables
SQLTables are natively read from and written to the SQL warehouse that is configured as your primary SQL connection in a Prophecy fabric. You can add existing tables from your data warehouse to Prophecy, or you can create new tables directly in Prophecy.
Name | Description | Gem Type |
---|---|---|
Table | Persistent storage of structured data in your SQL warehouse. Faster for frequent queries (indexed). | Source or Target |
View | A virtual table that derives data dynamically from a query. Slower for complex queries (computed at runtime). | Source or Target |
Seed | Small CSV-format files that you can write directly in Prophecy. | Source only |
Once you have used a table in a project, you can easily reuse that table as a source. Find you tables in the project browser in the left sidebar.
External Sources and Targets
Prophecy AutomateTo use data from outside of your SQL warehouse, you can use the following external sources and targets. This data is not persisted in Prophecy, but rather read through Prophecy.
External connections
To use external sources and targets, you need to set up the corresponding connections. Review the following connections that Prophecy provides.
Table connections
The following connections support tabular sources and targets.
File connections
The following connections support file sources and targets.
Connection type | Supported file formats |
---|---|
Amazon S3 | CSV, JSON, XLSX, XML |
SFTP | CSV, JSON, XLSX, XML |
Microsoft SharePoint | CSV, JSON, XLSX, XML |
Databricks | CSV, JSON, XLSX, XML |
Smartsheet | XLSX |