Description
Currently, HCatMapReduceTest, which is extended by the following test suites:
- TestHCatDynamicPartitioned
- TestHCatNonPartitioned
- TestHCatPartitioned
- TestHCatExternalDynamicPartitioned
- TestHCatExternalNonPartitioned
- TestHCatExternalPartitioned
- TestHCatMutableDynamicPartitioned
- TestHCatMutableNonPartitioned
- TestHCatMutablePartitioned
These tests run against RCFile. Currently, only TestHCatDynamicPartitioned is run against any other storage format (ORC).
Ideally, HCatalog should be tested against all storage formats supported by Hive. The easiest way to accomplish this is to turn HCatMapReduceTest into a parameterized test fixture that enumerates all Hive storage formats. Until HIVE-5976 is implemented, we would need to manually create the mapping of SerDe to InputFormat and OutputFormat. This way, we can explicitly keep track of which storage formats currently work with HCatalog or which ones are untested or have test failures. The test fixture should also use Reflection to find all classes in the classpath that implements the SerDe interface and raise a failure if any of them are not enumerated.
Attachments
Attachments
Issue Links
- is depended upon by
-
HIVE-7420 Parameterize tests for HCatalog Pig interfaces for testing against all storage formats
- Closed
-
HIVE-4329 HCatalog should use getHiveRecordWriter rather than getRecordWriter
- Open
-
HIVE-7440 Remove custom code for Avro in HCatMapReduceTest
- Resolved
-
HIVE-7485 Add documentation on new Serde test fixtures
- Open
- relates to
-
HIVE-7484 Format-independent fixture for testing storage formats
- Open
-
HIVE-5976 Decouple input formats from STORED as keywords
- Closed