Allow parenthesis for INSERT INTO (SELECT *);
statements
#2858
Labels
syntax
Issues or features related to our SQL syntax
INSERT INTO (SELECT *);
statements
#2858
Description
I would expect this to work:
It currently doesn't work with the parentheses. This will work though:
I've hit this issue on my own a few times - I wouldn't expect parentheses would break the insert statement, and I use parentheses pretty freely in my queries. It's also a problem when using incremental tables with dbt using the dbt postgres-adapter, since it automatically compiles the dbt model using parentheses.
The text was updated successfully, but these errors were encountered: