The kernel's WHERE/LIMIT sentence precedes the projection lever on a path where no operator can edit the SQL

Aperta
#2,217 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
javascript
Ambito
backend

Direzione di ricerca

Start with src/core/query/sql.js:95, then compare the projection scan sites in hypaware-core/plugins-workspace/context-graph/src/project.js:90 with the operator-query behavior documented in src/core/commands/query.js:235-237. The issue identifies a test pair as the acceptance check: projection-path refusals omit or replace the kernel’s filter/LIMIT advice, while operator-query refusals retain it. The body labels this review preference and backlog-only, so confirm it has been explicitly delegated before starting.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Source: #2199 at 54a0f1b96340fde3dabc1fd3f0af9581a20ff7e8
Location: src/core/query/sql.js:95, rendered ahead of hypaware-core/plugins-workspace/context-graph/src/project.js:90
Severity: nit

Evidence

A projection refusal reads 'add a WHERE/date filter, a LIMIT, or aggregate instead of selecting raw rows' about SQL the projection owns (project.js scan sites); the operator cannot act on it, the same situation src/core/commands/query.js:235-237 documents for hyp query overview.

Why deferral is safe

The sentence is unhelpful there but not false, and the correct actionable lever follows in the same message, so no reader is left at a dead end. Suppressing kernel prose per-caller needs kernel plumbing (a message-parts or suppress-filter-advice seam) that this change deliberately avoids under the smallest-change rule. Distinct from finding 8 (whose named lever is itself unreachable on one surface) and from round-1 finding 2 (no lever named at all, already fixed); no shared fix is claimed.

Acceptance condition

A caller-budgeted refusal on the projection path omits or replaces the kernel's filter/LIMIT advice while the operator-query path retains it, pinned by a test pair that fails if the advice reappears on the projection path or disappears from the operator path.

Review preference; backlog only. A human may explicitly delegate it with neutral:fix.

Lingua principale
JavaScript
Stelle
11
Fork
0
Merge medio
2h 15m
PR unite (30g)
322

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di hyparam/hypaware

Tutte le issue di hyparam/hypaware

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.