Skip to content

Commit

Permalink
PRECISION_DATETIME_LENGTH[DATETIME_LENGTHS[idx]]
Browse files Browse the repository at this point in the history
  • Loading branch information
kafisatz committed Oct 9, 2023
1 parent 78259ba commit 567ab99
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "InfluxDBClient"
uuid = "7a087161-7d97-4627-bbdd-0c82161d9408"
authors = ["bernhard.koenig", "marius.kruger"]
version = "0.1.2"
version = "0.1.3"

[deps]
CSV = "336ed68f-0bac-5ca0-87d4-7b16caf5d00b"
Expand Down
2 changes: 1 addition & 1 deletion src/query.jl
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ function query_flux_postprocess_response(bdy,parse_datetime,datetime_precision,t
if idx > length(DATETIME_LENGTHS)
throw(ArgumentError("Unexpected string length ($(ln)) for column _time"))
end
precision_of_data = PRECISION_DATETIME_LENGTH[ln]
precision_of_data = PRECISION_DATETIME_LENGTH[DATETIME_LENGTHS[idx]] #this row needs review and probably additional testing
else
precision_of_data = PRECISION_DATETIME_LENGTH[ln]
end
Expand Down

0 comments on commit 567ab99

Please sign in to comment.