added first round of lifecycle processing.
added minor lifecycle cleanup to sanitize.sql.master
parent
14497754f5
commit
a551f9321c
@ -0,0 +1,6 @@
|
||||
CREATE TABLE event_counts AS
|
||||
SELECT DATE(timestamp) as event_date,
|
||||
if(substring(new_value, 1, 1) = '+', 1, -1) as event_count,
|
||||
SUBSTRING(`new_value` FROM 2) as flag
|
||||
FROM project_lifecycle
|
||||
WHERE changed_column = 'status';
|
||||
Loading…
Reference in New Issue