Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 1.96 KB

week2.md

File metadata and controls

21 lines (15 loc) · 1.96 KB

Task 1: Add SQLFluff to pre-commit hook

  • set up pre commit initially and fixed all the issues. Commit.
  • Testing pre commit hook with sqlfluff. Screenshot 2024-09-06 at 8 40 49 AM

Task 2: Add dbt-checkpoint pre-commit hook

  • Changes associated with the dbt-checkpoint pre commit hook are in this commit.
    • The dbt-checkpoint pre commit hook made us aware that the descriptions of 2 columns in the dim_users model was missing and we needed to add them before pushing the changes. Screenshot 2024-09-06 at 8 53 47 AM
  • Testing Tags on models present in the core folder. Commit. Screenshot 2024-09-06 at 9 11 56 AM

Task 3: Generalize a custom macro

Task 4: Write a custom macro to improve another part of the codebase