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

Migrate DDL-related schema handling to the new Schema framework

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

Details

    • Technical Debt
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.16.0
    • None
    • Table SQL / API
    • None

    Description

      FLIP-164 introduces the new Schema framework. Yet all DDL-related functionalities (such as CREATE TABLE, CREATE TABLE LIKE, ALTER TABLE SET/RESET, ALTER TABLE ADD/DROP CONSTRAINT, SHOW CREATE TABLE, etc.) are based on the deprecated CatalogTableImpl and TableSchema.

      The FLIP said, "For backward compatibility, we leave Catalog#createTable and Catalog#alterTable untouched." Therefore, issues like FLINK-18958, FLINK-28690, etc., cannot be resolved. And new functionalities like ALTER TABLE ADD/MODIFY face a dilemma of implementing against the new framework but lose backward consistency.

      Fully migrating to the new framework takes a lot of effort and maybe a long-term plan, but at least it's the time to put it on the agenda to have a track.

      Attachments

        Issue Links

        Activity

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

          People

            Unassigned Unassigned
            qingyue Jane Chan

            Dates

              Created:
              Updated:

              Slack

                Issue deployment