Skip to content

Variant Analysis Results don't show results for certain non-standard select statements #2630

Closed
@Marcono1234

Description

@Marcono1234

Describe the bug
The Variant Analysis Results view does not show any results for certain non-standard select statements (for queries without @kind), even though the query has results and a local database run does show them.

Maybe closely related to #2629, or even the same underlying issue

Version
Extension version

CodeQL extension version: 1.8.8 
CodeQL CLI version: 2.14.0 
Platform: win32 x64

VS Code version

Version: 1.80.1 (user setup)
Commit: 74f6148eb9ea00507ec113ec51c489d6ffb4b771
Date: 2023-07-12T17:22:07.651Z
Electron: 22.3.14
ElectronBuildId: 21893604
Chromium: 108.0.5359.215
Node.js: 16.17.1
V8: 10.8.168.25-electron.0
OS: Windows_NT x64 10.0.19045

To reproduce
For each of the sample queries below (yes they literally consist only of a select statement), open Quick Query and perform Variant Analysis for them on the top 10 repositories.

  • ✔️ Works
    select "first"
  • ✔️ Works
    select "first", 1
  • ❌ No results
    select "first", "second"

This list is not exhaustive; there might be more cases.

Expected behavior
The raw results table should always be shown if there are results.

Metadata

Metadata

Assignees

No one assigned

    Labels

    VSCodebugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions