Coder Social home page Coder Social logo

dbt-dag-monitoring's People

Contributors

arturwagner avatar beatrizkenup avatar bruno-szdl avatar guizsantos avatar s-nfrodrigues avatar suelen-nfr avatar vitoravancini avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

dbt-dag-monitoring's Issues

Bigquery macro adjustments

Missing BigQuery Adapter in Macro dim_dates for dbt Model dbt_dag_monitoring

Issue Description

The macro dim_dag_monitoring_dates and the macro dim_dag_monitoring_task used in the dbt model dbt_dag_monitoring currently lacks the BigQuery adapter implementation, causing errors when running the model on a BigQuery environment.

Expected Behavior

The macros should be adaptable to different database adapters, including BigQuery. When using the dbt_dag_monitoring model with a BigQuery adapter, it should work seamlessly without causing errors or requiring manual adjustments.

Actual Behavior

When running dbt_dag_monitoring on a BigQuery environment, the following error occurs:

image

This indicates that the macro dim_dates isn't handling BigQuery correctly, leading to failure when processing date-related operations.

Steps to Reproduce

  1. Set up a dbt project with a BigQuery adapter.
  2. Include the dbt_dag_monitoring model in your project.
  3. Run dbt run.
  4. Observe the error caused by the dim_dates macro.

Proposed Solution

Add support for the BigQuery adapter in the dim_dag_monitoring_dates and the dim_dag_monitoring_task macros:

  • Change the null, to cast(null as string) as bq null aren't strings.
  • Change DOW funtion do daysofweek, as is the native BQ method

Thank you for your attention to this issue. Please let me know if you need additional information or context.

Change names of the whole project

We started this as an Airflow monitoring project but now we`ve expanded to dags tooling in general.

We should rename specific Airflow names to some dag terminology e.g. change the name of the repo itself from dbt-airflow-monitoring to dbt-dag-monitoring

Normalize dag states

each dag source has its own states, we should normalize this to pre defined values such as
success, fail and in_progress

ex for databricks and adf sources:
image

Integration tests

The command dbt build isn't taking the information from the folder integration_tests

ADF Improvements

maybe we should change the unique key for pipelines instead of deduping here. etag is the pipeline version, we are using it for deduping

(suggestion given by vitoravancini - extracted from README.md)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.