diff --git a/README.md b/README.md index dad48cf..af1cae7 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ OpenID login through access_token or refresh_token instead of user+password
  • socket_timeout: defaults to pyexasol default
  • query_timeout: defaults to pyexasol default
  • compression: default: False
  • -
  • encryption: default: False
  • +
  • encryption: default: True
  • protocol_version: default: v3
  • row_separator: default: CRLF for windows - LF otherwise
  • timestamp_format: default: YYYY-MM-DDTHH:MI:SS.FF6
  • @@ -37,6 +37,9 @@ OpenID login through access_token or refresh_token instead of user+password # Known isues +## Using encryption in Exasol 7 vs. 8 +Starting from Exasol 8 encryption is enforced by default. If you are still using Exasol 7 and have trouble connecting, you can disable encryption in profiles.yml (see optional parameters). + ## >=1.3 Python model not yet supported - WIP - Please follow [this pull request](https://github.com/tglunde/dbt-exasol/pull/59) diff --git a/dbt/adapters/exasol/__version__.py b/dbt/adapters/exasol/__version__.py index de98a45..42bff48 100644 --- a/dbt/adapters/exasol/__version__.py +++ b/dbt/adapters/exasol/__version__.py @@ -1 +1 @@ -version = "1.4.6" +version = "1.4.7" diff --git a/dbt/adapters/exasol/connections.py b/dbt/adapters/exasol/connections.py index 4f57039..d70d2b5 100644 --- a/dbt/adapters/exasol/connections.py +++ b/dbt/adapters/exasol/connections.py @@ -84,7 +84,7 @@ class ExasolCredentials(Credentials): socket_timeout: int = pyexasol.constant.DEFAULT_SOCKET_TIMEOUT query_timeout: int = pyexasol.constant.DEFAULT_QUERY_TIMEOUT compression: bool = False - encryption: bool = False + encryption: bool = True ## Because of potential interference with dbt, # the following statements are not (yet) implemented # fetch_dict: bool diff --git a/pyproject.toml b/pyproject.toml index ee7667b..799e94b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "dbt-exasol" -version = "1.4.6" +version = "1.4.7" description = "Adapter to dbt-core for warehouse Exasol" authors = ["Torsten Glunde ", "Ilija Kutle "] homepage = "https://alligatorcompany.gitlab.io/dbt-exasol" diff --git a/test.env b/test.env index 51ce80b..efdf883 100644 --- a/test.env +++ b/test.env @@ -5,3 +5,5 @@ DBT_PASS=. DBT_TEST_USER_1=dbt_test_role_1 DBT_TEST_USER_2=dbt_test_role_2 DBT_TEST_USER_3=dbt_test_role_3 + +EXASOL_RELEASE=8 diff --git a/tests/functional/test_grants.py b/tests/functional/test_grants.py index 3494c2f..19653fa 100644 --- a/tests/functional/test_grants.py +++ b/tests/functional/test_grants.py @@ -12,7 +12,10 @@ class TestIncrementalGrantsExasol(BaseIncrementalGrants): class TestInvalidGrantsExasol(BaseInvalidGrants): def grantee_does_not_exist_error(self): - return "user or role 'INVALID_USER' does not exist" + # Exasol versions have different error messages: + # Exasol 7: "user or role 'INVALID_USER does not exist" + # Exasol 8: "user or role INVALID_USER does not exist" + return "does not exist" def privilege_does_not_exist_error(self): return "syntax error, unexpected ON_, expecting ',' or TO_ [line 3, column 34]"