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

Add PostgreSQL support

Aperta
#299 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
postgresql, python
Ambito
databases

Direzione di ricerca

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.

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

Descrizione

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.

Lingua principale
Python
Stelle
550
Fork
142
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

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 OpenMined/PyDP

Tutte le issue di OpenMined/PyDP

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.