deniskuzZ commented on code in PR #3457:
URL: https://github.com/apache/hive/pull/3457#discussion_r934701343


##########
ql/src/test/org/apache/hadoop/hive/ql/TestTxnCommands2.java:
##########
@@ -3080,6 +3084,83 @@ public void testAcidOrcWritePreservesFieldNames() throws 
Exception {
     hiveConf.setBoolVar(HiveConf.ConfVars.HIVE_VECTORIZATION_ENABLED, true);
   }
 
+  @Test
+  public void testFailureScenariosCleanupCTAS() throws Exception {
+    boolean[] booleans = {true, false};
+    for (boolean var1 : booleans) {

Review Comment:
   could we create parametrized test:
   ````
   private static Stream<Arguments> generateArgs() {
       return IntStream.range(0, 1 << 4).mapToObj(i ->
         Arguments.of((i & 1) != 0, ((i >>> 1) & 1) != 0, ((i >>> 2) & 1) != 0, 
((i >>> 3) & 1) != 0));
     }
   
     @ParameterizedTest
     @MethodSource("generateArgs")
     public void failureScenarioCleanupCTAS(boolean isDirectInsertEnabled,
                                            boolean isLocklessReadsEnabled,
                                            boolean isLocationUsed, 
                                           boolean isLocationUsed) throws 
Exception {
   ````



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

To unsubscribe, e-mail: [email protected]

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