Data Aggregation Functions Library fully implemented and running

This commit is contained in:
Luis Fernando Molina committed 2021-05-21 14:46:18 +02:00
1 parent 4db9e0e3ce
commit 4ab1b9d86c
3 files changed
+102 -86

No files matched your search

@@ -650,8 +650,12 @@ exports.newSuperalgosBotModulesFetchingProcess = function (processIndex) {
/* We will need to save this at the Status Report */
contextVariables.lastFile = file.date
await readDatasetFile("/" + dateForPath)
/*
For One-Min type of datasets, since they are saved as Daily Files, there is no need
to read the already existing content to append to it. In this case is enought to
set the existing content to an empty array.
*/
existingFileContent = "[]"
appendToExistingDataset()
await saveDatasetFile("/" + dateForPath)