DBT JOBS FAILING
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2024 07:01 AM
HI ,
we have dbt workflow jobs and its been failing randomly from last few days with below error. is there any known issue for this , any help on the root cause will be helpful.
Encountered an error: Runtime Error Database Error __init__() got an unexpected keyword argument 'allowed_methods'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2024 09:11 AM - edited 01-26-2024 09:11 AM
@rsamant07 - you could try either one of the below
1) Please check the "dbt_databricks_version" and upgrade to 1.5.7 (if it is below 1.5.7) or
2) Downgrade the "databricks_sql_connector_version" from 3.0.0 to a lower value.
Please try and let us know.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2024 01:10 AM - edited 02-01-2024 01:11 AM
setting dbt-databricks==1.7.3 solved this issue but now we randomly get the below error . it gets fixed after restrating the cluster sometimes. but is there any permanent solution for this ?
from dbt.events import types_pb2 File "/databricks/python3/lib/python3.8/site-packages/dbt/events/types_pb2.py", line 5, in <module> from google.protobuf.internal import builder as _builder File "/databricks/python3/lib/python3.8/site-packages/google/protobuf/internal/builder.py", line 18, in <module> from google.protobuf.internal import python_message File "/databricks/python3/lib/python3.8/site-packages/google/protobuf/internal/python_message.py", line 36, in <module> from google.protobuf import descriptor as descriptor_mod File "/databricks/python3/lib/python3.8/site-packages/google/protobuf/descriptor.py", line 17, in <module> from google.protobuf.internal import api_implementation File "/databricks/python3/lib/python3.8/site-packages/google/protobuf/internal/api_implementation.py", line 81, in <module> from google.protobuf.pyext import _message TypeError: bases must be types

