Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

[FR] Add equivalent to SequentialGuidValueGenerator

オープン
#850 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 2 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
38/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
python, sql
領域
databases

調査の方向性

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 の本文から書いたものです。

説明

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.

主要言語
Python
スター
479
フォーク
62
平均マージ
3日 1時間
マージ済み PR(30日)
26

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

microsoft/mssql-python のほかの issue

microsoft/mssql-python の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。