Integrations are the fundamental connection point between your data warehouse and SDF. Credentials are used by integrations to authenticate to your data warehouse.
integration
. Integrations enable SDF to talk to your data warehouse and give you fine-grained controls over the databases, schemas, and tables that SDF can read and write to.
Integrations live as a subproperty of the workspace block, so a basic integration configuration will look like this:
w_source
for compilation, then let SDF write and materialize tables to the database w_target
.
default
. This prevents you from having to add the credential
property to the integration block.my_table
in schema schema1
, but I wanted to pull the schema for all tables in schema2
, I would write:
provider
: The name of the provider you want to use. This can be snowflake
, redshift
, s3
, and others. sdf
is a special provider that allows for running SQL queries locally without a data warehouse connection.type
: The type of integration you’re using. This can be database
, data
, or metadata
. See our integrations overview for more information.credential
: The name of the credential you want to use to authenticate with your data warehouse. This is optional and defaults to default
.sources
: A list of patterns that SDF will use to hydrate table schemas from your data warehouse when it doesn’t find them locally defined in SQL.targets
: A list of patterns that SDF will use to materialize tables to your data warehouse when you run sdf run
.