Skip to content

Internal Compiler Error using group transform #5092

@richb-hanover

Description

@richb-hanover

What happened?

I was building a query and found that commenting out a line within a group transform's pipeline caused a compiler error.

  • If both transforms are present (sort and take) in the query below, the compiler works
  • If only the take is present (commenting out the sort) the compiler works
  • If only the sort is present, the compiler's error refers to Compiler Panic with group transforms #3870

This error might be related to other issues, but I figured I should note it here.

PRQL input

from a=TableA

group { a.Col1 } (
    sort a.Col2 
    take 1
)

SQL output

N/A

Expected SQL output

N/A

MVCE confirmation

  • Minimal example
  • New issue

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugInvalid compiler output or panic

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions