> On Jan. 29, 2018, 2:24 p.m., Adam Szita wrote: > > Nice patch with well covered cases. > > Since this is a lot of test code, wouldn't it make sense to move the > > PartitionSpec-related code into a separate class (rather than having a 2k+ > > LOC class)?
Thanks a lot Adam for the review. Good point, I moved the tests to a different class. - Marta ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/65380/#review196430 ----------------------------------------------------------- On Jan. 30, 2018, 8:15 a.m., Marta Kuczora wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/65380/ > ----------------------------------------------------------- > > (Updated Jan. 30, 2018, 8:15 a.m.) > > > Review request for hive, Peter Vary and Adam Szita. > > > Bugs: HIVE-18566 > https://issues.apache.org/jira/browse/HIVE-18566 > > > Repository: hive-git > > > Description > ------- > > he following methods of IMetaStoreClient are covered by this test. > - int add_partitions_pspec(PartitionSpecProxy) > > The test covers not just the happy pathes, but the edge cases as well. > > > Diffs > ----- > > > standalone-metastore/src/test/java/org/apache/hadoop/hive/metastore/client/TestAddPartitionsFromPartSpec.java > PRE-CREATION > > > Diff: https://reviews.apache.org/r/65380/diff/2/ > > > Testing > ------- > > Run the tests > > > Thanks, > > Marta Kuczora > >