Soda Core Redshift is a plugin for Soda Core that enables data quality checks against Amazon Redshift data warehouses. It provides the necessary connector to allow Soda Core to interact with Redshift, fetch metadata, and execute SQL queries for data quality monitoring. The current version is 3.5.6, and it typically follows the release cycle of the main `soda-core` library, with frequent updates.
pip install soda-core-redshiftVerified import paths — ran on the pinned version, not inferred.
This quickstart demonstrates how to run a Soda Core scan against a Redshift data source using Python. It configures the Redshift connection details, defines a simple check for a 'dim_users' table, and executes the scan. Connection details are pulled from environment variables for secure credential management.
Always install `soda-core-redshift` and `soda-core` at compatible versions, ideally by installing `soda-core-redshift` which pulls in the correct `soda-core` version, or by keeping both up-to-date.
Always use environment variables (e.g., `os.environ.get()` in Python) or a secrets manager to pass credentials to Soda Core, especially in production environments.
Verify that your Redshift cluster is accessible from where Soda Core is running (e.g., check security groups, network ACLs). Double-check host, port, database name, username, and password. Ensure the user has appropriate permissions on the database and tables being scanned.