Skip to content

Conversation

@erimatnor
Copy link
Member

The time_bucket() function can now bucket UUIDs, so update the docs to mention this feature.

The time_bucket() function can now bucket UUIDs, so update the docs to
mention this feature.
@github-actions
Copy link

Allow 10 minutes from last push for the staging site to build. If the link doesn't work, try using incognito mode instead. For internal reviewers, check web-documentation repo actions for staging build status. Link to build for this PR: http://docs-dev.timescale.com/docs-erimatnor-uuid-time-bucket

ORDER BY month_bucket DESC LIMIT 10;
```

It is possible to compute buckets on version 7 UUIDs that contain a timestamp
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
It is possible to compute buckets on version 7 UUIDs that contain a timestamp
To compute buckets on version 7 UUIDs that contain a timestamp

```

It is possible to compute buckets on version 7 UUIDs that contain a timestamp
in Unix time format. When bucketing UUIDs, a regular `TIMESTAMP WITH TIME ZONE`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
in Unix time format. When bucketing UUIDs, a regular `TIMESTAMP WITH TIME ZONE`
in Unix time format, run the following:

------------------------
2025-01-01 11:00:00+01
```

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When you bucketing UUIDs, a regular TIMESTAMP WITH TIME ZONE value is returned.


It is possible to compute buckets on version 7 UUIDs that contain a timestamp
in Unix time format. When bucketing UUIDs, a regular `TIMESTAMP WITH TIME ZONE`
value is returned instead of a UUID:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
value is returned instead of a UUID:

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

Successfully merging this pull request may close these issues.

3 participants