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

Feature request: Support TIMESTAMPUNIT in InfluxDB Sink KCQL #850

Open
afausti opened this issue May 6, 2022 · 0 comments
Open

Feature request: Support TIMESTAMPUNIT in InfluxDB Sink KCQL #850

afausti opened this issue May 6, 2022 · 0 comments

Comments

@afausti
Copy link
Contributor

afausti commented May 6, 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":

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.

@afausti 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants