Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-4806

make PhoenixStorageHander using only unmanaged tables

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

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 4.14.0, 5.0.0
    • None
    • None
    • None

    Description

      For managed table Hive is heavily using internal statistic which is not updated properly when data is changing from outside. So all custom storage handlers are moving to the schema when only unmanaged (external) tables are using.
      The suggested lifecycle:
      1) All tables should be created with external keyword
      2) if Phoenix table doesn't exist, we create a new one and add a flag that it should be deleted on drop table from hive
      3) If Phoenix table exists, no changes in the existing behavior.

      Some of the storage handlers that are part of Hive distribution are already using this schema. Others are in progress.

      FYI Josh Elser

      Attachments

        Issue Links

        Activity

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

          People

            sergey.soldatov Sergey Soldatov
            sergey.soldatov Sergey Soldatov

            Dates

              Created:
              Updated:

              Slack

                Issue deployment