Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Insert into a table with a list of columns
Now it is possible to specify list of columns with INSERT INTO e.g. INSERT INTO orders (orderkey) VALUES(1); When the list of column names is specified the columns produced by the query must exactly match to them. Each column not being present in the column list will be filled with a ``null`` value. In case the list of column names is not given then the columns produced by query must exactly match the columns in the table being inserted into. When the list of columns is present then there is added additional ProjectNode to logical plan which represents mapping between query columns and table columns. Also it takes care of table columns not present in a list.
- Loading branch information
Showing
15 changed files
with
226 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.