-
Notifications
You must be signed in to change notification settings - Fork 465
New issue
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
dbt-materialize: v1.8.0 migration #27011
dbt-materialize: v1.8.0 migration #27011
Conversation
@bobbyiliev, to fix linting, you can run: |
3107508
to
99e88dd
Compare
@nrainer-materialize, the tests are failing on what seems to be a Docker-related issue; do you have a hunch about what's going on?
|
Well, it says that it cannot find
Does this dependency maybe ship with pytest? |
That was my first hunch, but |
Well, it is the Docker image, which does no longer include This build uses This branch:
That is, if the Docker image is based on the changed |
Try adding
to |
____________ ERROR collecting tests/adapter/test_relation_types.py _____________
ImportError while importing test module '/dbt-materialize/tests/adapter/test_relation_types.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
usr/local/lib/python3.8/importlib/__init__.py:127: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
dbt-materialize/tests/adapter/test_relation_types.py:19: in <module>
from fixtures import (
dbt-materialize/tests/adapter/fixtures.py:16: in <module>
from dbt.tests.adapter.hooks import test_model_hooks as core_base
E ModuleNotFoundError: No module named 'dbt.tests.adapter'
|
0917e28
to
8f64cc7
Compare
misc/dbt-materialize/dbt/include/materialize/macros/materializations/unit.sql
Show resolved
Hide resolved
70f12db
to
a89cf9e
Compare
d11df75
to
7a91aab
Compare
70ab216
to
26d594b
Compare
26d594b
to
0d16455
Compare
misc/dbt-materialize/dbt/include/materialize/macros/utils/cast.sql
Outdated
Show resolved
Hide resolved
Great job on the upgrade, @bobbyiliev! There's a couple of minor things we can follow-up on, but I'm confident about rolling out the release. |
Motivation
Fixes MaterializeInc/database-issues#7800.
Initial PR to update the required dependencies for the dbt v1.8.0 migration.