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

Improve docs about timestamp type of pipeline transform #1418

Open
sunng87 opened this issue Jan 2, 2025 · 0 comments
Open

Improve docs about timestamp type of pipeline transform #1418

sunng87 opened this issue Jan 2, 2025 · 0 comments

Comments

@sunng87
Copy link
Member

sunng87 commented Jan 2, 2025

https://docs.greptime.com/user-guide/logs/pipeline-config#the-type-field

epoch: Timestamp type, which will be converted to GreptimeDB timestamp(n) type. The value of n depends on the precision of the epoch. When the precision is s, n is 0; when the precision is ms, n is 3; when the precision is us, n is 6; when the precision is ns, n is 9.

We didn't mention how to specify precision for timestamp type, after checking code, it's written like this:

  • timestamp,nanosecond
  • timestamp,nano
  • timestamp,ns

we will need to specify this in docs, an example is welcomed.

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