zabetak opened a new pull request #1331:
URL: https://github.com/apache/hive/pull/1331


   1. Remove redundant boolean return type from QTestDatasetHandler#initDataset 
and QTestDatasetHandler#unloadDataset (the method return true or fails).
   2. Replace AssertionError with RuntimeException to allow callers handle 
failures properly (AssertionErrors are not meant to be caught).
   3. Remove table to unload from src tables only after sucessfull unload (not 
before)
   4. Reset 'missingTables' and 'tableToUnload' variables in case of failure on 
loading/unloading dataset, otherwise all subsequent tests using the same 
dataset handler will fail.
   5. Turn 'missingTables' from class variable to instance variable; there is 
no reason to share this variable among instances; we need to have a way to know 
globally which tables are loaded but for this we have 'srcTables'.
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to