Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Indexing gap: sql/wisdom_cs

Đang mở
#2,572 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 2 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
30/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
sql
Lĩnh vực
devtools

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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).

Ngôn ngữ chính
C
Star
45.8k
Fork
3.8k
Merge trung bình
3 ngày 6 giờ
Pull request đã merge (30 ngày)
201

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của DeusData/codebase-memory-mcp

Tất cả issue của DeusData/codebase-memory-mcp

Issue tương tự

Thêm issue về C

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.