Skip to content

Exclusions in unsupported dialects should be errors? #3622

@eitsupi

Description

@eitsupi

What happened?

It is not possible to represent the exclusion of unknown columns in dialects that do not support something like EXCLUDE, but it does not seem to be an error.

PRQL input

from tracks
select !{milliseconds,bytes}

SQL output

SELECT
  *
FROM
  tracks

-- Generated by PRQL compiler version:0.9.5 (https://prql-lang.org)

Expected SQL output

(Should be an error)

MVCE confirmation

  • Minimal example
  • New issue

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugInvalid compiler output or paniccompiler

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions