We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
somehow, dbt-labs/dbt-core#8437 has caused a dbt-databricks unit test to fail with the below strange message. Here's a gist of the failure message I saw locally (TODO add link to GHA tox log)
jsonschema.exceptions.ValidationError: 'database' is a required property
I’m confused bc, AFAICT, database is defined as optional within the DatabricksCredentials dataclass.
database
dbt-databricks/dbt/adapters/databricks/connections.py
Lines 102 to 103 in 3609a6e
It seems as if I was able to fix this by adding "database": os.getenv("DBT_DATABRICKS_DB_NAME"), to the profile dict definition
"database": os.getenv("DBT_DATABRICKS_DB_NAME"),
profile
dbt-databricks/tests/profiles.py
Lines 23 to 26 in 3609a6e
Adding to my confusion is that the failing unit test, TestDatabricksAdapter.test_databricks_sql_connector_connection, looks to based upon dbt-spark’s TestSparkAdapter.test_http_connection() unit test. Both tests are of a format unfamiliar to me and structured differently than dbt-snowflake's TestSnowflakeAdapter, for example.
The text was updated successfully, but these errors were encountered:
nevermind!!!
Sorry, something went wrong.
No branches or pull requests
Background
somehow, dbt-labs/dbt-core#8437 has caused a dbt-databricks unit test to fail with the below strange message. Here's a gist of the failure message I saw locally (TODO add link to GHA tox log)
I’m confused bc, AFAICT,
database
is defined as optional within the DatabricksCredentials dataclass.dbt-databricks/dbt/adapters/databricks/connections.py
Lines 102 to 103 in 3609a6e
It seems as if I was able to fix this by adding
"database": os.getenv("DBT_DATABRICKS_DB_NAME"),
to theprofile
dict definitiondbt-databricks/tests/profiles.py
Lines 23 to 26 in 3609a6e
Adding to my confusion is that the failing unit test, TestDatabricksAdapter.test_databricks_sql_connector_connection, looks to based upon dbt-spark’s TestSparkAdapter.test_http_connection() unit test. Both tests are of a format unfamiliar to me and structured differently than dbt-snowflake's TestSnowflakeAdapter, for example.
Questions
profile
validation happening?The text was updated successfully, but these errors were encountered: