You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behavior:
Data should be stored in InfluxDB if I try to save a DataFrame that has multiple columns starting with digits where NaNs might occur.
Actual behavior:
If all columns are sorted alphabetically, and the first column starts with a digit and has a NaN then it will crash if the first subsequent column that has a value also starts with a digit. If the first subsequent column that follows that has a value starts with a normal character, then it works as usual.
Time
1_col
2_col
3_col
a_col
Result
...
NaN
30.0
30.0
30.0
Fails
...
30.0
NaN
30.0
30.0
Works
...
NaN
NaN
30.0
30.0
Fails
...
30.0
NaN
NaN
30.0
Works
...
NaN
NaN
NaN
30.0
Works
However, if your first column starts with a digit, and this is the only column with a digit, then there's no problem.
Time
1_col
a_col
Result
...
NaN
30.0
Works
Other:
I've also immediately made a PR: #486 . Wasn't really sure whether it was enough to just make a PR or if an issue was required, so just made both.
Specifications:
Client Version: 1.31.0
InfluxDB Version: 2.3.0 (docker)
Platform: Intel MacBook Pro running macOS 12.5
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
Steps to reproduce:
I've made a small Python script that showcases the issue:
Expected behavior:
Data should be stored in InfluxDB if I try to save a DataFrame that has multiple columns starting with digits where NaNs might occur.
Actual behavior:
If all columns are sorted alphabetically, and the first column starts with a digit and has a NaN then it will crash if the first subsequent column that has a value also starts with a digit. If the first subsequent column that follows that has a value starts with a normal character, then it works as usual.
However, if your first column starts with a digit, and this is the only column with a digit, then there's no problem.
Other:
I've also immediately made a PR: #486 . Wasn't really sure whether it was enough to just make a PR or if an issue was required, so just made both.
Specifications:
The text was updated successfully, but these errors were encountered: