Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

non-ascii char in FIELD KEY breaks python influxdb InfluxDBClient #25396

Open
allomorphy opened this issue Sep 25, 2024 · 0 comments
Open

non-ascii char in FIELD KEY breaks python influxdb InfluxDBClient #25396

allomorphy opened this issue Sep 25, 2024 · 0 comments

Comments

@allomorphy
Copy link

allomorphy commented Sep 25, 2024

Hi all

This perhaps should be an issue raised in the python package repo?

This seems to be a corner case bug.
versions
python 3.11
influxdb 1.8
influxDB shell version: 1.8.10
AWS ubuntu instance FWIW

In the influxDB shell version: 1.8.10 ,there is no issue with such a query.
With the python package , however the following query:
SELECT * FROM measurement
gives the following error:

Error executing query: 'utf-8' codec can't decode byte 0xb5 in position 9: invalid start byte`` The offending KEY in measurement is value_in_�IU/ml or could also bevalue_in_µIU/ml ``` (it was a previous lib mismatch that wrote that glitchy byte)

SELECT foo,bar,whatever,value FROM measurement
gives no error

I hope this helps
E

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant