You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Naveen Gangam (JIRA)" <ji...@apache.org> on 2019/05/31 17:05:00 UTC

[jira] [Created] (HIVE-21816) HMS Translation: Refactor tests to work with ACID tables.

Naveen Gangam created HIVE-21816:
------------------------------------

             Summary: HMS Translation: Refactor tests to work with ACID tables.
                 Key: HIVE-21816
                 URL: https://issues.apache.org/jira/browse/HIVE-21816
             Project: Hive
          Issue Type: Sub-task
          Components: Hive
    Affects Versions: 4.0.0
            Reporter: Naveen Gangam
            Assignee: Naveen Gangam


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" capability.

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
(v7.6.3#76005)