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.
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.