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
TIMESTAMPUNIT can be used to specify the unit when a timestamp field is used, as suggested here
For example, this is saying that "I want to use the private_efdStamp field as the InfluxDB timestamp with microseconds precision":
INSERT INTO Test.logevent_heartbeat SELECT * FROM Test.logevent_heartbeat WITHTIMESTAMP private_efdStamp TIMESTAMPUNIT=MICROSECONDS
It would be nice to explain this possibility in the InfluxDB Sink connector documentation.
However, as discussed in PR #851, it doesn't work completely with double timestamps as this information also needs to be used to choose the multiplication factor before coercing it to Long.
The text was updated successfully, but these errors were encountered:
afausti
changed the title
Feature request: Add support to timestamp unit for InfluxDB Sink connector KCQL
Feature request: Support TIMESTAMPUNIT in InfluxDB Sink KCQL
May 10, 2022
Edit:
TIMESTAMPUNIT can be used to specify the unit when a timestamp field is used, as suggested here
For example, this is saying that "I want to use the
private_efdStamp
field as the InfluxDB timestamp with microseconds precision":It would be nice to explain this possibility in the InfluxDB Sink connector documentation.
However, as discussed in PR #851, it doesn't work completely with
double
timestamps as this information also needs to be used to choose the multiplication factor before coercing it toLong
.The text was updated successfully, but these errors were encountered: