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
Users new to line protocol can run into gotcha's when using it for the first time. For example long/integer fields need to have a trailing "i" and string fields need to have values enclosed in quotes.
If the measurement is created without the trailing "i" for count the field type in IOX will be float and not long. This can lead to schema conflict issues on later writes, for example when using Point instead of line protocol.
Expected behavior
Examples should at least provide hints for how to implement solutions that have special criteria in the line protocol language.
Actual behavior
The current Java example shows how to write only a field of type float.
//// Write by LineProtocol//Stringrecord = "temperature,location=north value=60.0";
client.writeRecord(record);
Additional info
No response
The text was updated successfully, but these errors were encountered:
Use Case
Users new to line protocol can run into gotcha's when using it for the first time. For example long/integer fields need to have a trailing "i" and string fields need to have values enclosed in quotes.
e.g.
If the measurement is created without the trailing "i" for
count
the field type in IOX will be float and not long. This can lead to schema conflict issues on later writes, for example when using Point instead of line protocol.Expected behavior
Examples should at least provide hints for how to implement solutions that have special criteria in the line protocol language.
Actual behavior
The current Java example shows how to write only a field of type float.
Additional info
No response
The text was updated successfully, but these errors were encountered: