Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

Quick-eval results cannot be compared

Offen
#873 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
35/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Veraltet
Tech-Stack
typescript, vscode

Rechercherichtung

Beginnen Sie mit dem Befehl Compare Results in der Ansicht Query History und der Vergleichsansicht, die für Quick Evaluation-Läufe verwendet wird. Reproduzieren Sie sowohl Fälle mit demselben Prädikat als auch Fälle mit unterschiedlichen Prädikaten und verfolgen Sie anschließend, wie Prädikatsnamen und Ergebnisschemas zum Dropdown für Tabellennamen gelangen. Erledigt ist die Aufgabe, wenn Vergleiche für übereinstimmende Prädikate korrekt funktionieren, kompatible unterschiedliche Schemas einen Platzhalter verwenden und inkompatible Schemas einen leeren Vergleich mit einer passenden Warnung anzeigen.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

bug VSCode

Describe the bug

When running the Compare Results command from the Query History view on the results of Quick Evaluation queries, the comparison view is empty, with no table names in the dropdown. If two different predicates were run, this also throws an error Schema undefined not found..

Version
CodeQL extension version: 1.4.8
CodeQL CLI version: 2.5.5

To reproduce

  • Create a query file with two predicates.
    int i1() { result = 1 }
    int i2() { result = 2 }
    select 1
    
  • Quick-evaluate i1 twice. Select the two runs in Query History, right click, Compare Results.
    • This produces an empty compare view with no table names in the dropdown.
  • Quick-evaluate i1 then i2. Select the two runs in Query History, right click, Compare Results.
    • This fails with an error Schema undefined not found.
    • It also produces the same empty compare view with no table names in the dropdown.

Expected behavior

  • When the predicate name and columns match, show the quick-eval predicate name in the dropdown, and show a comparison of results.
  • If the predicate names do not match, but the two schemas are compatible, attempt to compare the results, with a placeholder table name in the dropdown.
  • If the schemas aren't compatible, show an empty comparison with a suitable warning message.
Vorherrschende Sprache
TypeScript
Sterne
539
Forks
240
Ø Merge
2 T. 6 Std.
Gemergte PRs (30 T.)
29

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus github/vscode-codeql

Alle Issues in github/vscode-codeql

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.