Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-15206 Add a validation functionality to hiveSchemaTool
  3. HIVE-16974

Change the sort key for the schema tool validator to be <ID>

Log workAgile BoardRank to TopRank to BottomBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersConvert to IssueMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.0
    • 3.0.0
    • HiveServer2
    • None

    Description

      In HIVE-16729, we introduced ordering of results/failures returned by schematool's validators. This allows fault injection testing to expect results that can be verified. However, they were sorted on NAME values which in the HMS schema can be NULL. So if the introduced fault has a NULL/BLANK name column value, the result could be different depending on the backend database(if they sort NULLs first or last).
      So I think it is better to sort on a non-null column value.

      Attachments

        1. HIVE-16974.patch
          14 kB
          Naveen Gangam
        2. HIVE-16974.patch
          14 kB
          Naveen Gangam

        Activity

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

          People

            ngangam Naveen Gangam Assign to me
            ngangam Naveen Gangam
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment