mirror of
https://github.com/apache/doris.git
synced 2026-11-04 15:39:47 +00:00
### What problem does this PR solve? Issue Number: close #xxx Related PR: #xxx Problem Summary: Document: https://github.com/apache/doris-website/pull/4131 https://github.com/apache/doris-website/pull/4166 Doris does not have a native UUID SQL and storage type, so UUID values must be stored as strings and cannot use a fixed-width representation or UUID-aware generation and version functions. Add a native 128-bit UUID type across FE, BE, IDL, storage, serialization, expressions, runtime filters, external and JNI bridges, and schema metadata. Accept canonical and compact hexadecimal input, normalize output to lowercase canonical form, preserve unsigned canonical ordering, and add native UUID v4 and v7 generation and version inspection while keeping the existing string-returning uuid() behavior compatible. ### Release note None ### Check List (For Author) - Test <!-- At least one of them must be included. --> - [x] Regression test - [x] Unit Test - [ ] Manual test (add detailed scripts or steps below) - [ ] No need to test or manual test. Explain why: - [ ] This is a refactor/code format and no logic has been changed. - [ ] Previous test can cover this change. - [ ] No code files have been changed. - [ ] Other reason <!-- Add your reason? --> - Behavior changed: - [ ] No. - [ ] Yes. <!-- Explain the behavior change --> - Does this need documentation? - [ ] No. - [x] Yes. <!-- Add document PR link here. eg: https://github.com/apache/doris-website/pull/1214 --> ### Check List (For Reviewer who merge this PR) - [ ] Confirm the release note - [ ] Confirm test cases - [ ] Confirm document - [ ] Add branch pick label <!-- Add branch pick label that this PR should merge into --> --------- Co-authored-by: Dongyang Li <lidongyang@selectdb.com>