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

Test "Path -> Alias" for explain extended

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.10.0
    • Testing Infrastructure
    • None
    • Reviewed

    Description

      Test framework masks output of "Path -> Alias" for explain extended. This makes it impossible to verify the output is right.

      Design is to add a new entry "Truncated Path -> Alias" to MapredWork. It has the same content as "Path -> Alias" except the prefix including file schema and temp dir is removed. The following config will be used for prefix-removal:
      METASTOREWAREHOUSE("hive.metastore.warehouse.dir", "/user/hive/warehouse"),

      This will keep "Path -> Alias" intact and also test it's result is right.

      The first use case is to verify list bucketing query's result is right.

      Attachments

        1. HIVE-3556.patch.1
          127 kB
          Gang Tim Liu
        2. HIVE-3556.patch.2
          127 kB
          Gang Tim Liu

        Issue Links

          Activity

            People

              gangtimliu Gang Tim Liu
              gangtimliu Gang Tim Liu
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: