Permalink
Browse files

fix(scripts): marshall flow.${viewName}.begin to flow.begin on import

  • Loading branch information...
1 parent e85ecb7 commit cb4d05036b065ef880c472011816c2208497801c @philbooth philbooth committed Dec 21, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 import_flow_events.py
@@ -265,7 +265,7 @@
'epoch'::TIMESTAMP + timestamp * '1 second'::INTERVAL,
flow_time,
flow_id,
- type,
+ (CASE WHEN type LIKE 'flow.%.begin' THEN 'flow.begin' ELSE type END),
'{day}'::DATE
FROM temporary_raw_flow_data;
"""

0 comments on commit cb4d050

Please sign in to comment.