Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-18726

Support INSERT INTO specific columns

    XMLWordPrintableJSON

Details

    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

          Activity

            People

              docete Zhenghua Gao
              TsReaper Caizhi Weng
              Votes:
              1 Vote for this issue
              Watchers:
              19 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: