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

Add missing custom query support on new jdbc connector

    XMLWordPrintableJSON

Details

    Description

      In FLINK-17361, we added custom query on JDBC tables, but missing to add the same ability on new jdbc connector (i.e. JdbcDynamicTableSourceSinkFactory).

      In the new jdbc connector, maybe we should call it scan.query to keep consistent with other scan options, besides we need to make "table-name" optional, but add validation that "table-name" and "scan.query" shouldn't both be empty, and "table-name" must not be empty when used as sink.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jark Jark Wu
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated: