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

Insert into catalog table failed when catalog table not implement table source factory

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Invalid
    • None
    • 1.10.0
    • Table SQL / Planner
    • None

    Description

      When a TableFactory just implement TableSinkFactory, we use create table DDL to register it into catalog and use tableEnv.sqlUpdate("insert into sinkTable ...."), there will be an exception:

      TableException: findAndCreateTableSource failed.
      

      blink-planner should not assume that all TableFactories are TableSourceFactory. 

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            lzljs3620320 Jingsong Lee
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment