Hacker News new | ask | show | jobs
by sscherfke 211 days ago
If you want to a UUIDv7 key for partitioning your table by date (e.g., one partition per day or month), you need to be able to compute the partition range via the minimal UUIDv7 for a given date.

There is some discussion whether or not to add helpers for this to Python‘s uuid7 module: https://github.com/python/cpython/issues/130843#issuecomment...

1 comments

Thanks for pointing this out and for sharing the link.