Skip to content

Handling of PRQL source files without main pipeline #128

@max-sixty

Description

@max-sixty

As discussed in PRQL/prql#1803 (and screenshot at PRQL/prql#1825 (comment)), currently the extension will raise an error on files that don't have main pipelines.

Because we're planning to start allowing "module" files, this will become more prevalent. (At the moment it really only affects the developers who have std.prql open...)

As discussed on the linked issue, these should be possible to parse, even if not compile. So it would be great to understand why we get this error, given I'd think we don't need to compile PRQL files before we want to preview them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions