Commit 2f61b601 authored by Azat Khuziyakhmetov's avatar Azat Khuziyakhmetov
Browse files

fixed a bug in the influx tool in order to import big data

parent 154dc61b
......@@ -26,7 +26,9 @@ def parse_tags(tags_raw):
def parse_values(val_raw):
cols = val_raw["results"][0]["series"][0]["columns"]
vals = val_raw["results"][0]["series"][0]["values"]
vals = []
for i in range(0, len(val_raw["results"])):
vals += val_raw["results"][i]["series"][0]["values"]
print("Cols in file:", cols)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment