influxdata / flux

Flux is a lightweight scripting language for querying databases (like InfluxDB) and working with data. It's part of InfluxDB 1.7 and 2.0, but can be run independently of those.
https://influxdata.com
MIT License
769 stars 153 forks source link

fix(stdlib/influxdata/wideto): panic with null string key #5493

Closed mhilton closed 5 months ago

mhilton commented 5 months ago

Update the wideTo function to cope with tables with a null tag value. In these cases the tag is skipped when writing to influxdb.

Checklist

Dear Author :wave:, the following checks should be completed (or explicitly dismissed) before merging.

Dear Reviewer(s) :wave:, you are responsible (among others) for ensuring the completeness and quality of the above before approval.