Improve error msg when an INSERT INTO ... SELECT ...
uses a source
#26990
Labels
A-ADAPTER
Topics related to the ADAPTER layer
It's not allowed for an
INSERT INTO ... SELECT ...
to (transitively) refer to any sources. The error msg is currently:It would be good to clarify:
INSERT INTO ... SELECT ...
queries. (and maybe other similar things, e.g., some UPDATE?)operation may only refer to user-defined tables
is not so clear: it's actually ok to refer to views, mat views, etc., but the final transitive dependencies at the end are what count.A confused user:
https://materializeinc.slack.com/archives/C053EPHMU05/p1715181840656969?thread_ts=1715181618.113209&cid=C053EPHMU05
The text was updated successfully, but these errors were encountered: