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

when creating transactional table make sure location has no data

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

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.0.0
    • None
    • Transactions
    • None

    Description

      if a user creates a new transactional table but sets a location to some place that already has data any number of things can break.

      Data may not be in Acid format, it may have been written by another cluster and txnids won't make sense in current cluster. Once per table writeIDs (HIVE-18192) are there, if the data was written by another table, writeIDs won't match.

      This could actually work if the data at the existing location was not written by an acid write but it would be safer/cleaner to just prevent this (at least at first).

      Attachments

        Issue Links

        Activity

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

          People

            Unassigned Unassigned Assign to me
            ekoifman Eugene Koifman

            Dates

              Created:
              Updated:

              Slack

                Issue deployment