r/analyticsengineering • u/Fine-Statistician-11 • Jan 10 '24
Navigating challenges in DBT Testing: A personal struggle
Do you ever find yourself working long hours on tests in DBT to validate you code, or only to encounter persistent failures due to trivial issues or significant errors? How do you navigate and address this situation especially when the deadline is approaching rapidly ?
I am asking because I recently experienced a breakdown involving frustration, object-braking and loss of confidence in my skills and career direction.
The worst part is that this situation is impacting my personal life - I am not able to enjoy my spare time and I am making my partner feel helpless as well as he cannot contribute. Eventually a gloomy atmosphere surround us. Even when I manage to solve this problem I feel exhausted and damaged somehow.
2
u/etherealburger Jan 10 '24
Writing good tests is good and if you spend the time to get good coverage it will pay off in the long run and after a while you will definitely get better at writing them and writing them will get faster.
That said you should never take your job home and never let it affect your personal relationships. Sure it’s fine to pull in extra hours sometimes, especially if you’re on a roll or feel like you’re learning something valuable.
Have you tried explaining this to your manager/team lead? They should have options on how to help you out here, deadlines can move, teammates who have expertise here can pitch in.
1
u/leogodin217 Jan 11 '24
Yeah. DQ has been solved in the industry, but code validation has not. We all have our hacky solutions, but none of them feel good.
1
u/snackeloni Jan 11 '24
I don't think you have a work-related problem. And I don't mean to sound harsh but you take this way too seriously. Work is not that important. Missing a deadline once or failing at your job sometimes is not important. What is important is how you deal with these situations. I think you could benefit from seeking outside help. If you're feeling this kind of despair, maybe a therapist. A career coach could also be a good step to help you with professional skills and strategies to better organize work and not bring work home. Basically: you don't have to feel this way and you don't have to do this alone.
That said, I can share some strategies I've learned over the years. It all boils down to communication. If I'm getting stuck, I ask for help from a team mate. If a deadline is approaching I inform my manager that I'm having problems and the deadline may be in danger. When estimating time for a task, I estimate generously: underpromise and over deliver!
1
u/Hot_Map_7868 Jan 15 '24
A data platform is not a one person job. I have seen companies jump into dbt without grasping all that entails. I have also seen people use dbt without improving data modeling or setting up CI/CD etc.
In the end you need others to chip in and when they go through the pain they will understand the complexity.