schrockn
02/11/2019, 4:01 PMmax
02/12/2019, 11:32 PMWe do use Airflow as our orchestration tool.
What is the best practice to handle dependencies among models when we have both DBT and Airflow? Is it good to use DBT inbuilt DAG or use Airflow to handle that dependency?
schrockn
02/12/2019, 11:33 PMschrockn
02/12/2019, 11:33 PMmax
02/12/2019, 11:33 PMschrockn
02/12/2019, 11:34 PMschrockn
02/12/2019, 11:34 PMmax
02/13/2019, 7:22 PMmax
02/21/2019, 7:15 PMTaylor
03/03/2019, 5:02 PMdagit
, and able to see 1 solid change in a giant dag (not an optimal human task).
I used to use this rad "perceptual diff" tool https://github.com/bslatkin/dpxdt for front end work to catch visual regressions and I'm thinking something like this, but not running via pixel by pixel diffs - but by executing against the internal representation of the dag itself.
Then you could imagine dag snapshots being built into an org's pipeline CI:
Dagbot reports these dag changes: ✅ to confirm intention, ❌ to indicate this was unintentional.
Taylor
03/14/2019, 9:01 PMv0.2.8.post1
and
I'm baffled how what I changed broke this:
(venv) 001: [develop x?] $ pip list | grep dag
dagit 0.2.8.post0
dagster 0.2.8.post1
(venv) 001: [develop x?] $ python
Python 3.6.6 |Anaconda, Inc.| (default, Jun 28 2018, 11:07:29)
[GCC 4.2.1 Compatible Clang 4.0.1 (tags/RELEASE_401/final)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import dagster
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "repos/project/venv/lib/python3.6/site-packages/dagster/__init__.py", line 1, in <module>
from dagster.core.execution import (
File "repos/project/venv/lib/python3.6/site-packages/dagster/core/execution.py", line 28, in <module>
from .definitions import (
File "repos/project/venv/lib/python3.6/site-packages/dagster/core/definitions/__init__.py", line 1, in <module>
from .context import PipelineContextDefinition
File "repos/project/venv/lib/python3.6/site-packages/dagster/core/definitions/context.py", line 5, in <module>
from dagster.core.types import Field, Dict, String
File "repos/project/venv/lib/python3.6/site-packages/dagster/core/types/__init__.py", line 2, in <module>
from .config_schema import (
File "repos/project/venv/lib/python3.6/site-packages/dagster/core/types/config_schema.py", line 2, in <module>
from dagster.utils import single_item
ImportError: cannot import name 'single_item'
>>>
I cannot replicate this on the new 0.2.8.post1
branch.Taylor
03/14/2019, 9:01 PMmax
03/14/2019, 9:19 PMTaylor
03/14/2019, 9:26 PMTaylor
03/14/2019, 9:26 PMmax
03/14/2019, 9:48 PMmax
03/14/2019, 9:48 PMTaylor
03/14/2019, 9:49 PMmax
03/14/2019, 9:49 PMfrom dagster.utils import single_item
Taylor
03/14/2019, 9:50 PMmax
03/14/2019, 9:50 PMTaylor
03/14/2019, 9:50 PMmax
03/14/2019, 9:50 PMTaylor
03/14/2019, 9:50 PMTaylor
03/14/2019, 9:50 PMschrockn
03/14/2019, 9:51 PMschrockn
03/14/2019, 9:51 PMschrockn
03/14/2019, 9:51 PM