enso/test/Snowflake_Tests
Radosław Waśko 3fd14642d9
Fix upload/delete transactions in Snowflake backend (#10738)
Fixes #10609 by rewriting all our upload-related operations to rely on `DDL_Transaction` - an abstraction that handles 'transactionality' of `CREATE TABLE` statements dependent on if a given backend allows DDLs within transactions or not (if not it emulates transactionality by creating the tables outside of transaction and then dropping them on rollback).
2024-08-06 08:14:44 +00:00
..
src Fix upload/delete transactions in Snowflake backend (#10738) 2024-08-06 08:14:44 +00:00
package.yaml Initial separation of Snowflake_Dialect from Postgres_Dialect (#10266) 2024-06-13 16:12:20 +00:00
README.md Initial separation of Snowflake_Dialect from Postgres_Dialect (#10266) 2024-06-13 16:12:20 +00:00

This is a set of tests for the Snowflake integration for Enso.

Testing Snowflake

To run the tests, you need to prepare credentials for a Snowflake instance that can be used to run them on.

Please set the following environment variables:

  • ENSO_SNOWFLAKE_ACCOUNT - the account name for the Snowflake instance,
  • ENSO_SNOWFLAKE_USER - the username to use for the tests,
  • ENSO_SNOWFLAKE_PASSWORD - the password for the user, for security reasons this can be a plain text value or an Enso Secret. If using a secret, please provide it as path - enso://orgid/path/foo.secret,
  • ENSO_SNOWFLAKE_DATABASE - the name of the database to use for the tests,
  • ENSO_SNOWFLAKE_SCHEMA - the name of the schema to use for the tests, (optional, defaults to PUBLIC),
  • ENSO_SNOWFLAKE_WAREHOUSE - the name of the warehouse to use for the tests (optional, defaults to blank value).