Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

[FR] Add equivalent to SequentialGuidValueGenerator

Aperta
#850 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
38/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
python, sql
Ambito
databases

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

triage needed
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.

Lingua principale
Python
Stelle
479
Fork
62
Merge medio
2g 23h
PR unite (30g)
18

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di microsoft/mssql-python

Tutte le issue di microsoft/mssql-python

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.