Skip to content

Mutation queries (DML) #1092

@aljazerzen

Description

@aljazerzen

Ref #968

Right now, PRQL (which stands for something something QUERY language) does not support any DML commands (DML stands for Data Manipulation Language). Do we want it to support INSERT, UPDATE & DELETE?

I'm opening this issue mostly as a tracking/planning issue, as we don't have the capacity to work on this in the near future.

Let's start with observation that there are use-cases that need DML even in analytical SQL. ETL where Transform happens in the database may need to store results in an actual table, using INSERT. Or preprocessing some dataset may include doing some kind of complex query that determines which rows are unusable and must be DELETEd.

So I do think that we need DML, but must be careful on how to integrate these statements into a pipelined language.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions