Merged PR 4530: first comment time added
# Description First comment time added # Checklist - [x] The edited models and dependants run properly with production data. - [x] The edited models are sufficiently documented. - [x] The edited models contain PK tests, and I've ran and passed them. - [ ] I have checked for DRY opportunities with other models and docs. - [ ] I've picked the right materialization for the affected models. # Other - [ ] Check if a full-refresh is required after this PR is merged. first comment time added Related work items: #27812
This commit is contained in:
parent
47fde7de60
commit
42701b4d2c
5 changed files with 29 additions and 0 deletions
|
|
@ -159,6 +159,14 @@ select
|
|||
lt.first_comment_at_utc,
|
||||
lt.last_comment_at_utc,
|
||||
lt.comment_count,
|
||||
case
|
||||
when lt.first_comment_at_utc is not null
|
||||
then
|
||||
(
|
||||
extract(epoch from (lt.first_comment_at_utc - i.created_at_utc)) / 3600
|
||||
)::decimal(19, 4)
|
||||
else null
|
||||
end as time_to_first_comment_in_hours,
|
||||
lt.first_status_at_utc,
|
||||
lt.last_status_at_utc,
|
||||
case
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue