summaryrefslogtreecommitdiff
path: root/etl.js
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2018-05-05 23:31:56 +0200
committerschneefux <schneefux+commit@schneefux.xyz>2018-05-05 23:31:56 +0200
commitc8d900349a2a518c5fee9610b6a903a2ff546e50 (patch)
tree3e99c3f388068e78743653dec46cf106437a7052 /etl.js
parent075c26e94f16379b302570e689d244edef94cb04 (diff)
downloadbrokentalents-c8d900349a2a518c5fee9610b6a903a2ff546e50.tar.gz
brokentalents-c8d900349a2a518c5fee9610b6a903a2ff546e50.zip
cache many small periods on disk and aggregate them
Diffstat (limited to 'etl.js')
-rw-r--r--etl.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/etl.js b/etl.js
index bbb8205..7334b7d 100644
--- a/etl.js
+++ b/etl.js
@@ -157,7 +157,10 @@ function loadFPayloads(config) {
Future.both,
R.map(R.pipe(
joinParticipantRosterMatchPayloadsToTelemetryPayloads,
- R.map(R.omit(['_asset_id', '_participant_id', '_participant_ids', '_roster_id', '_roster_ids', '_match_id', 'Team'])),
+ R.map(R.pipe(
+ R.omit(['_asset_id', '_participant_id', '_participant_ids', '_roster_id', '_roster_ids', '_match_id', 'Team']),
+ R.set(R.lensProp('Count'), 1),
+ )),
)),
), [
loadFParticipantRosterMatchPayloads,