hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Naveen Gangam (JIRA)" <>
Subject [jira] [Updated] (HIVE-21816) HMS Translation: Refactor tests to work with ACID tables.
Date Thu, 06 Jun 2019 17:36:00 GMT


Naveen Gangam updated HIVE-21816:
    Status: Patch Available  (was: Open)

> HMS Translation: Refactor tests to work with ACID tables.
> ---------------------------------------------------------
>                 Key: HIVE-21816
>                 URL:
>             Project: Hive
>          Issue Type: Sub-task
>          Components: Hive
>    Affects Versions: 4.0.0
>            Reporter: Naveen Gangam
>            Assignee: Naveen Gangam
>            Priority: Major
>         Attachments: HIVE-21816.patch, HIVE-21816.patch, HIVE-21816.patch, HIVE-21816.patch,
HIVE-21816.patch, HIVE-21816.patch
> 1) TestHiveMetaStore unit tests does not work for full ACID tables as the TransactionalValidationListener
enforces that this table use AcidIO. The Orc IO files are only included in the hive-exec jars
that are not used by tests under standalone-metastore module. Even adding a test-scoped dependency
on hive-exec did not work. I had to relocate these tests into itests.
> 2) Implementation of logic that allows skipping of translation via the use of "MANAGERAWMETADATA"
> 3) Fixed some test bugs as the test was not failing originally when the createTable failed
because of the issue in #1. As a result, about 3 tests never ran fully and never failed. The
tests now fail if there are issues.
> 4) Refactoring of the code in the DefaultTransformer to make static lists of capabilities.
The return capabilities now is dependent on the table capabilities, the processor capabilities
and the accessType assigned to the table.

This message was sent by Atlassian JIRA

View raw message