Add PostgreSQL support
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
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
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
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di OpenMined/PyDP
-
Type: New Feature :heavy_plus_sign:
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
-
Type: Question :grey_question:
Difficoltà 3/5 1-2 giorni Idoneità per principianti 25/100
-
Type: Question :grey_question:
Difficoltà 4/5 3-5 giorni Idoneità per principianti 32/100
-
Type: Improvement :chart_with_upwards_trend:
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
-
Type: New Feature :heavy_plus_sign:
Difficoltà 3/5 1-2 giorni Idoneità per principianti 38/100
Tutte le issue di OpenMined/PyDP
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
bug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
qgis/QGIS-Plugins-Website#459 ·
-
bug severity:medium
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 2 giorni
-
bot-found bug priority: P3
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
madenvel/KalinkaPlayer#179 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
ls1intum/edutelligence#1098 ·
I maintainer di solito rispondono entro 1 giorno