Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
### Description Supports new error messages. In `SparkAdapter.get_columns_in_relation`, it checks the error message when the specified table or view doesn't exist: https://github.com/dbt-labs/dbt-spark/blob/c87b6b2c48bcefb0ce52cd64984d3129d6f14ea0/dbt/adapters/spark/impl.py#L223 but, Spark will change the error message in the future release (apache/spark#37887), which causes the function to raise the `dbt.exceptions.RuntimeException` instead of returning an empty list. The function should also check whether the error message contains `[TABLE_OR_VIEW_NOT_FOUND]` or not. This will be reverted once dbt-labs/dbt-spark#515 is resolved.
- Loading branch information