Skip to content

Commit

Permalink
Cast timestamps to the client's timezone.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaypeedevlin authored and sean-rose committed Nov 30, 2021
1 parent e6d0951 commit 5895ee9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dbt_coding_conventions.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ Source models should be named `source_<source name>__<table name>` (two undersco
- Source models should select from [dbt sources](https://docs.getdbt.com/docs/using-sources), not directly from the source tables themselves.
- Source models should alias source columns as necessary to conform to our [naming conventions](sql_style_guide.md).
- Source models should perform data type corrections and simple extractions of nested scalar data.
- In source models, timezones should be cast to the timezone of the client. Where there are multiple timezones for the client, select the timezone in which most of the reporting stakeholders are based.

<br>

Expand Down

0 comments on commit 5895ee9

Please sign in to comment.