Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-23717

In jdbcUrl add config to create External + purge table by default

Log workAgile BoardRank to TopRank to BottomBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      External + purge tables are more backward compatible with the old managed tables.

      Applications can use a HS2 URL that sets the session level property for default table type to external-purge tables to be true.
      As part of this we need a notion of a "session level only" config parameter(s).

      Adding a new jdbc config: hiveCreateAsExternalLegacy, a hs2 config hive.create.as.external.legacy, when set to true, create external purge table by default.

      Adding MANAGED keyword. "create managed table" will create table based on hive.create.as.acid and hive.craete.as.insert.only values, not impacted by the new config.

      Attachments

        Activity

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

          People

            Xiaomeng Zhang Xiaomeng Zhang Assign to me
            Xiaomeng Zhang Xiaomeng Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0h
              0h
              Logged:
              Time Spent - 2h 40m
              2h 40m

              Slack

                Issue deployment