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

SQL: no PostgreSQL dialect; Postgres-style .sql is labelled db2_sql or sqlite and sqlite-labelled files lose every CREATE FUNCTION (sqldoom: 93 of 110 found)

Cerrado
#5,622 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
58/100
Tipo de issue
Nueva funcionalidad
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
postgresql, python, sql

Línea de trabajo

Start with languages/db2_sql.py and languages/sqlite.py to understand dialect detection and the existing CREATE FUNCTION matching. Add a PostgreSQL dialect covering the listed SQL constructs, then add focused tests for each supported shape and classifier precedence. Verify completion by rescanning cedardb/sqldoom for 110/110 functions and confirming existing db2/sqlite goldens do not drift.

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

Descripción

bug core-engine needs:doom-corpus priority: high scope:core

Problem

cedardb/sqldoom (GPL-2.0, 95753a20e) is a DOOM engine written in PostgreSQL-compatible SQL (CedarDB): 69 .sql files with 110 CREATE OR REPLACE FUNCTION, 110 CREATE TABLE, 24 CREATE TYPE, 5 views, recursive CTEs in 7 files. The engine has no PostgreSQL dialect (languages/ has db2_sql.py, sqlite.py): 45 files are labelled db2_sql (93 functions found), 20 are labelled sqlite (0 functions, e.g. sql/client/automap.sql, render_automap.sql), so 17 of 110 functions are missed and the dialect label is wrong for all 65.

PostgreSQL is the most common open-source SQL dialect, so this affects any repo with Postgres migrations, functions or dbt-style SQL.

Acceptance

  • A PostgreSQL dialect (CREATE [OR REPLACE] FUNCTION/PROCEDURE ... LANGUAGE sql|plpgsql, $$/$tag$ bodies, CREATE TYPE, RETURNS TABLE, DO blocks) chosen over db2/sqlite by content evidence, with tests per shape, and the db2/sqlite classifiers no longer claiming Postgres files.
  • Rescan of sqldoom: 110/110 functions, all files one dialect; no drift on existing db2/sqlite goldens (or explained).

Found by scanning licensed non-C DOOM ports for the DOOM Crucible corpus (#5619, #5457); clones are local at pinned SHAs, nothing third-party is committed.

🤖 Generated with Claude Code

Lenguaje dominante
Python
Estrellas
57
Forks
11
Merge medio
1 h 51 min
PR fusionados (30 d)
982

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 squid-protocol/gitgalaxy

Todos los issues de squid-protocol/gitgalaxy

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.