owenmonn commented on code in PR #5722:
URL: https://github.com/apache/hive/pull/5722#discussion_r2028537683


##########
iceberg/iceberg-handler/src/test/java/org/apache/iceberg/mr/hive/TestHiveIcebergStatistics.java:
##########
@@ -52,14 +53,20 @@ public class TestHiveIcebergStatistics extends 
HiveIcebergStorageHandlerWithEngi
   @Parameterized.Parameter(4)
   public String statsSource;
 
-  @Parameterized.Parameters(name = "fileFormat={0}, catalog={1}, 
isVectorized={2}, formatVersion={3}, statsSource={4}")
+  @Parameterized.Parameter(5)
+  public boolean isLockEnabled;
+
+  @Parameterized.Parameters(name = "fileFormat={0}, catalog={1}, 
isVectorized={2}, " +
+      "formatVersion={3}, statsSource={4}, isLockEnabled={5}")
   public static Collection<Object[]> parameters() {
     Collection<Object[]> baseParams = 
HiveIcebergStorageHandlerWithEngineBase.parameters();
 
     Collection<Object[]> testParams = Lists.newArrayList();
     for (String statsSource : new String[]{"iceberg", "metastore"}) {
-      for (Object[] params : baseParams) {
-        testParams.add(ArrayUtils.add(params, statsSource));
+      for (boolean isLockEnabled : new boolean[]{true, false}) {

Review Comment:
   
[5dcb9b9](https://github.com/apache/hive/pull/5722/commits/5dcb9b9c55fbc10fdd547ca27d8c3a3c1166f3b5)
   I added a test when the `engine.hive.lock-enabled=true`.



-- 
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: gitbox-unsubscr...@hive.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org
For additional commands, e-mail: gitbox-h...@hive.apache.org

Reply via email to