Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
Description
Currently Flink only supports insert into a table without specifying columns, but most database systems support insert into specific columns by
INSERT INTO table_name(column1, column2, ...) ...
The columns not specified will be filled with default values or NULL if no default value is given when creating the table.
As Flink currently does not support default values when creating tables, we can fill the unspecified columns with NULL and throw exceptions if there are columns with NOT NULL constraints.
Attachments
Issue Links
- is related to
-
FLINK-21542 Add documentation for supporting INSERT INTO specific columns
- Closed
- links to