Parses InfluxDB query responses in JSON, JSONL, and Flux annotated CSV formats, and passes Parquet bodies through untouched.
Type Coercion
time,_time,_start,_stopRFC3339 strings →DateTime.t()- JSON / JSONL numbers and booleans keep the types Jason decodes
- CSV cells are typed from the Flux
#datatypeannotation row when the query requested one (double,long,unsignedLong,boolean,dateTime:RFC3339[Nano]); without it every cell stays a string
Summary
Functions
Coerces known value types in a row map.
Parses a response body based on the specified format.
Functions
Coerces known value types in a row map.
Converts RFC3339 strings under time, _time, _start and _stop to
DateTime; leaves everything else as-is.
Parses a response body based on the specified format.
Parameters
body- response body binaryformat- one of:json,:jsonl,:csv,:parquet
Returns
{:ok, [map()]}— list of row maps ({:ok, binary()}for:parquet){:error, reason}— parse failure