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

Indexing gap: sql/wisdom_cs

Abierto
#2,572 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 2 días

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
30/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
sql
Área
devtools

Línea de trabajo

Reproduce with the reduced snippet: save the QUALIFY ROW_NUMBER() OVER (...) = 1 query as a .sql file, index it, and check index_status with diagnostics: full for parse_partial ranges. The payload does not name the SQL grammar or extraction files, so locate them first. Done when the snippet and sql/wisdom_cs/dim_domain_crm.sql lines 51-54 index without a partial flag, or the remaining gap is explained.

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

Descripción

codebase-memory-mcp reports a best-effort indexing gap for project Users-gautamparab-Downloads-wisdomai_cs_large. index_status (diagnostics: full) lists sql/wisdom_cs/dim_domain_crm.sql under parse_partial with error ranges 51-52,54-54 (1-based). The rest of sql/wisdom_cs is not flagged. Status was ready (15,688 nodes / 49,797 edges).

The flagged lines are a BigQuery QUALIFY filter on a window function. Lines 51–52 are QUALIFY ROW_NUMBER() OVER ( and the PARTITION BY line. Line 54 is the closing ) = 1. The ORDER BY ... DESC NULLS LAST line between them (line 53) is not in the error ranges, so the parser recovers the inner order-by and fails again on the comparison after the window.

QUALIFY is valid BigQuery (and Snowflake) SQL. It is not in the core SQL grammar, so the tree-sitter parse records error nodes there. The file is still indexed; symbols inside those ranges may be missing from the graph.

Reduced stand-in for the flagged construct (generic names, not the warehouse view):

SELECT id
FROM items
QUALIFY ROW_NUMBER() OVER (
  PARTITION BY id
  ORDER BY updated_at DESC NULLS LAST, id DESC
) = 1;

Environment: codebase-memory-mcp dev on macOS Apple Silicon (Darwin 25.6.0).

Lenguaje dominante
C
Estrellas
45.8k
Forks
3.8k
Merge medio
3 d 4 h
PR fusionados (30 d)
208

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

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 DeusData/codebase-memory-mcp

Todos los issues de DeusData/codebase-memory-mcp

Issues similares

Más issues de C

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.