databendlabs / databend

๐——๐—ฎ๐˜๐—ฎ, ๐—”๐—ป๐—ฎ๐—น๐˜†๐˜๐—ถ๐—ฐ๐˜€ & ๐—”๐—œ. Modern alternative to Snowflake. Cost-effective and simple for massive-scale analytics. https://databend.com
https://docs.databend.com
Other
7.88k stars 751 forks source link

feat: uuid function from v4 to v7 #16827

Closed BohuTANG closed 1 week ago

BohuTANG commented 1 week ago

I hereby agree to the terms of the CLA available at: https://docs.databend.com/dev/policies/cla/

Summary

Overview

Change UUID functions(GEN_RANDOM_UUID/UUID)output format from v4 to v7 for improved performance and ordering

Why v7 over v4?

Example

Before (v4): 9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d (random) After (v7): 018df296-2bcd-7000-9876-000000000000 (time-ordered)

Impact

fixes: #16818

Tests

Type of change


This change isโ€‚Reviewable