mirror of
https://github.com/enso-org/enso.git
synced 2024-12-18 22:21:48 +03:00
3a4784c226
- Part of #9486 - Building on top of initial work by @jdunkerley and finishing it - Reverted the changes to the Postgres_Dialect from last Snowflake work and split the Snowflake_Dialect into a separate module. - Moved from `rounding_decimal_places_not_allowed_for_floats` to `supports_float_round_decimal_places` (as too confusing). - Added Snowflake_Dialect type. - Extracted `Snowflake_Spec` into separate `Snowflake_Tests` - It imports the common tests from `Table_Tests`. - Some initial adaptations to make the snowflake dialect not-crash. - Adding `Internals_Access` proxy to allow external implementations to access our internal data structures without directly exposing them to users. Users should not use these. - Adding profiling of SQL to check performance.
20 lines
893 B
Markdown
20 lines
893 B
Markdown
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).
|