Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Internal Compiler Error using group transform #5092

Open
1 of 2 tasks
richb-hanover opened this issue Jan 13, 2025 · 1 comment
Open
1 of 2 tasks

Internal Compiler Error using group transform #5092

richb-hanover opened this issue Jan 13, 2025 · 1 comment
Labels
bug Invalid compiler output or panic

Comments

@richb-hanover
Copy link
Contributor

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

@richb-hanover richb-hanover added the bug Invalid compiler output or panic label Jan 13, 2025
@richb-hanover
Copy link
Contributor Author

PS PRQL remains ever-useful. I still get a lot of mileage from it, despite these hurdles. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Invalid compiler output or panic
Projects
None yet
Development

No branches or pull requests

1 participant