Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Add PostgreSQL support

Abierto
#299 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
25/100
Tipo de issue
Nueva funcionalidad
Claridad
Necesita aclaración
Estado de actividad
Estancado
Stack tecnológico
postgresql, python
Área
databases

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
Python
Estrellas
550
Forks
142
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de OpenMined/PyDP

Todos los issues de OpenMined/PyDP

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.