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>

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.0.0
    • Component/s: HiveServer2
    • Labels:
      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

            People

            • Assignee:
              ngangam Naveen Gangam
              Reporter:
              ngangam Naveen Gangam
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: