Replies: 3 comments 5 replies
-
Curious is it the right link to thinking with SQL? |
Beta Was this translation helpful? Give feedback.
-
One of the most valuable features of using python for transformations that was not covered in the documentation is the ability write automated unit tests. Not quality-control checks against existing data, but quality-assurance checks against potential data. To test numeric overflow, invalid dates, encoding issues, validation & exception logic, etc, etc. I would really love to see how folks would leverage this capability: move each field transform into a dedicated python function and then accompany that with a unit test class? |
Beta Was this translation helpful? Give feedback.
-
As Python model support in dbt comes closer, it's time to start thinking about guides to help practitioners do things in a dbtonic way.
There are two directions we can view this from; I think they're probably different enough that we'll need a guide for each persona, but maybe they can overlap!
To reiterate @jtcohen6's callout in the above discussion:
Fortunately, I represent persona # 1 pretty well! Here’s some things I'm hoping we can build out:
@lostmygithubaccount will represent the dbt-curious Python developer, but for sure we'll want some the same sort of pitfall guidance: what behaviours make sense in other Python contexts but don't make sense in a dbt world?
Beta Was this translation helpful? Give feedback.
All reactions