Run SQL script and create schema for Datafold
To connect to Amazon Redshift, create a user for Datafold with two permissions:- Read access (SELECT) to the schemas and tables you want to diff. Datafold only reads from your main database.
- Write access to one dedicated temporary schema, which Datafold uses to materialize scratch work and keep data processing in your warehouse.
GRANT ... <myschema> statements for each schema you want Datafold to read.
Grant read access to every schema in your diff or CI scope. If Datafold references a schema the user cannot read, diffs and CI runs against that schema will fail.
Column-level lineage (optional)
To build column-level lineage, Datafold reads Redshift’s system query logs. Grant the user access to them:Configure in Datafold
Click Create. Your data connection is ready!
