Skip to content

Bug Report: Panic in a complex query #16539

@GuptaManan100

Description

@GuptaManan100

Overview of the Issue

Running the follwing query -

select 1 from user join user_extra on user.id = user_extra.user_id join music on music.intcol = user_extra.col left join (select user_metadata.col, count(*) as count from user_metadata group by user_metadata.col) um on um.col = user_extra.col where user.id IN (103) group by user_extra.col, music.intcol

leads to a runtime panic in vtgate

Reproduction Steps

  1. Setup a cluster based on the schema used for onecase.
  2. RUn the query above and see the panic.

Binary Version

main

Operating System and Environment details

main

Log Fragments

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions