[FR] Add equivalent to SequentialGuidValueGenerator
維護者通常 1 天內回覆
還沒有人認領這個 Issue。
評估
研究方向
The issue names no files or tests. Start by looking for existing UUID or value-generation support in the Python driver and its tests; clarify whether the equivalent should be a generator class or a function. Done means an official option addresses SQL Server’s GUID ordering concern and its behavior is covered by tests.
由索引模型根據 Issue 內容生成。
描述
Is your feature request related to a problem? Please describe.
Since MSSQL orders UNIQUEIDENTIFIER fields differently than (e.g. v7) UUIDs would be ordered, a system that generates its UUIDs in application code will suffer from index fragmentation as described here.
Describe the solution you'd like
An equivalent to the SequentialGuidValueGenerator provided in EF, be it as a generator class or a function.
Describe alternatives you've considered
One alternative would be to roll my own generator by constructing UUIDv7s and then shuffling the bytes around so that the timestamp data moves to the end. I would strongly prefer to use an "official" solution.
- 主要語言
- Python
- 星號
- 479
- 分支
- 62
- 平均合併
- 2 天 23 小時
- 30 天內合併 PR
- 18
環境準備
在瀏覽器裡用你自己的 GitHub 帳號啟動這個專案的開發容器。
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
microsoft/mssql-python 的其他 Issue
-
bulkcopy accepts four-part table names that SQL Server always rejects可能已有人在做 @jahnvi480 於 1 天前認領。 未關閉area: bulk-copy bug inADO triage done under development
難度 2/5 1-3 小時 新手友好度 70/100
microsoft/mssql-python#843 · 1 則留言 · 已指派 1 人 ·
維護者通常 1 天內回覆
-
triage needed
難度 4/5 3-5 天 新手友好度 48/100
microsoft/mssql-python#854 · 1 則留言 ·
維護者通常 1 天內回覆
-
bulkcopy() & bulkcopy_arrow() fail with Schannel AcquireCredentialsHandleW error 0x8009030D (SEC_E_UNKNOWN_CREDENTIALS)可能已有人在做 @jahnvi480 於 1 天前認領。 未關閉area: bulk-copy bug inADO triage done
難度 4/5 3-5 天 新手友好度 20/100
microsoft/mssql-python#848 · 5 則留言 · 已指派 1 人 ·
維護者通常 1 天內回覆
-
macOS: encrypted connections fail after Homebrew moved the `openssl` alias to `openssl@4`可能已有人在做 @bewithgaurav 於 21 天前認領。 未關閉area: packaging-platform bug triage needed
難度 4/5 3-5 天 新手友好度 55/100
microsoft/mssql-python#826 · 2 則留言 · 2 個 reaction · 已指派 1 人 ·
維護者通常 1 天內回覆
-
Announcement: mssql-python is coming to Django through mssql-django 2.0可能重新可做 @bewithgaurav 於 48 天前認領,目前沒有進行中的 PR。 未關閉announcement
microsoft/mssql-python#748 · 已指派 1 人 ·
維護者通常 1 天內回覆
查看 microsoft/mssql-python 的全部 Issue
相似的 Issue
-
難度 1/5 1 小時以內 新手友好度 80/100
521xueweihan/HelloGitHub#4063 ·
-
難度 2/5 1-3 小時 新手友好度 78/100
-
難度 2/5 1-3 小時 新手友好度 62/100
Vanilla-OS/apx-gui#112 ·
-
Devstral and Voxtral: section 5 fails in us-east-1 with 400 "Model does not support audio modality"未關閉
難度 2/5 1-3 小時 新手友好度 76/100
aws-samples/sample-per-model-bedrock#409 ·
維護者通常 1 天內回覆
-
DuckDB 2.0 breaks to_pyarrow_batches可能已有人在做 @DG47 今天認領。 未關閉
難度 2/5 1-3 小時 新手友好度 76/100
ibis-project/ibis#12196 ·
維護者通常 1 天內回覆