Dialect translation: read in one dialect, generate in another
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- Medio día
- Aptitud para principiantes
- 42/100
Línea de trabajo
Start in src/sqlguardllm/guard.py where check() parses and generates SQL, and in src/sqlguardllm/policy.py where the policy options are defined. Add an output_dialect option so parsing uses dialect and generation uses output_dialect, then confirm row filters and limits render as TOP or FETCH FIRST. Tests go in tests/test_rules.py for postgres to tsql, postgres to oracle and mysql to postgres. Done when those three conversions pass; note the issue depends on #2 and is unassigned with no comments yet.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Goal
Let a model that writes PostgreSQL target SQL Server, Oracle or any other dialect sqlglot supports.
Acceptance criteria
-
output_dialectpolicy option;check()parses withdialectand generates withoutput_dialect - Row filters and limits render in the output dialect (
TOP,FETCH FIRST) - Tests: postgres → tsql, postgres → oracle, mysql → postgres
Relevant files
src/sqlguardllm/guard.pysrc/sqlguardllm/policy.pytests/test_rules.py
Size
S (up to half a day)
Notes
- Depends on: #2
- Milestone: v0.3 · More power
- Design: docs/DESIGN.md · threat model · attack gallery
- Lenguaje dominante
- Python
- Estrellas
- 0
- Forks
- 0
- Merge medio
- 1 min
- PR fusionados (30 d)
- 2
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de jmmana/sqlguardllm
-
area:security good first issue size:s type:feature
Dificultad 2/5 Medio día Aptitud para principiantes 68/100
jmmana/sqlguardllm#16 ·
-
area:integrations size:s type:feature
Dificultad 4/5 Medio día Aptitud para principiantes 25/100
jmmana/sqlguardllm#38 ·
-
area:security size:m type:infra
Dificultad 4/5 1-2 días Aptitud para principiantes 30/100
jmmana/sqlguardllm#37 ·
-
Official .NET client on NuGetAbiertoarea:integrations help wanted size:m type:feature
Dificultad 4/5 3-5 días Aptitud para principiantes 30/100
jmmana/sqlguardllm#36 ·
-
area:integrations help wanted size:m type:feature
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
jmmana/sqlguardllm#35 ·
Todos los issues de jmmana/sqlguardllm
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
Los mantenedores suelen responder en 1 día
-
bug (unverified)
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
scikit-hep/awkward#4581 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
ci-cd priority: low
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
LearningCircuit/local-deep-research#9163 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
Los mantenedores suelen responder en 1 día
-
Specifically suppress IsEnoughWorkspace, instead of all MIopen warnings in denoiser/config.pyAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
supersonic-lumina/ENM156#50 ·
Los mantenedores suelen responder en 2 días