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

Add PostgreSQL support

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

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
postgresql, python
領域
databases

調査の方向性

No project files or tests are named. Start by reviewing the psycopg2 approach and Google's PostgreSQL extension linked in the issue, then determine how PostgreSQL loading should integrate with PyDP. Done means PostgreSQL data can use differential-privacy-compliant operations, with custom Sum and Count behavior that prevents direct privacy-unsafe queries.

索引モデルが issue の本文から書いたものです。

説明

Status: Available :wave: Type: Discussion :speaker: Type: Epic :call_me_hand:

Description

Right now, to load data into pydp, the way to use load it manually using pandas or some other method and then apply DP operations by passing it to a list.
A good way to use is to enable postgres support within DP so you don't have a scope of opening up a list.

In google's repo, they have added a postgres extesnsion. While this works in the DB, in the code, it becomes bit difficult to use.

What we could do is build support on top of the psycopg2 module, thus the SQL operations would be DP compliant.

Breakdown

What can be done is we disable Sum, Count operation from psycopg2 and define our custom functions so in no-case shall privacy be violated.

Who else?

We might need research team support for SQL queries but doesn't seem likely for statistical functions.

主要言語
Python
スター
550
フォーク
143
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

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

OpenMined/PyDP のほかの issue

OpenMined/PyDP の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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