amogh-jahagirdar commented on code in PR #13061:
URL: https://github.com/apache/iceberg/pull/13061#discussion_r2114476217


##########
spark/v3.5/spark-extensions/src/test/java/org/apache/iceberg/spark/extensions/TestRowLevelOperationsWithLineage.java:
##########
@@ -81,6 +87,40 @@ record ->
           createRecord(SCHEMA, 103, "d", 3L, 1L),
           createRecord(SCHEMA, 104, "e", 4L, 1L));
 
+  @Parameters(
+      name =
+          "catalogName = {0}, implementation = {1}, config = {2},"
+              + " format = {3}, vectorized = {4}, distributionMode = {5},"
+              + " fanout = {6}, branch = {7}, planningMode = {8}, 
formatVersion = {9}")
+  public static Object[][] parameters() {
+    return new Object[][] {
+      {
+        "testhadoop",
+        SparkCatalog.class.getName(),
+        ImmutableMap.of("type", "hadoop"),
+        FileFormat.PARQUET,
+        false,
+        WRITE_DISTRIBUTION_MODE_HASH,
+        true,
+        null,
+        LOCAL,

Review Comment:
   @RussellSpitzer I looked into it a bit more and I think it'll be quite a bit 
of work that I'm not sure is actually beneficial to slim down here. I think for 
this class we know we want to vary the following parameters for testing:
   
   1.) Planning mode
   2.) File format
   3.) Vectorized
   4.) Distribution mode (this is mostly to make sure that regardless of plan, 
we don't end up in situations where we drop the lineage fields, to make sure 
the rewritten logical rules just work)
   
   
   The part that we should be able to leave constant is all the catalog stuff 
and branching, but that's deep down in the inheritance path of this test. And I 
think we do want to keep the inheritance from the existing row level operations 
tests not only for the parameters but there are some shared helper methods for 
table setup, view creation for the merge etc.
   
   All in all, I'm also not super concerned about test times blowing up here 
(this test suite takes around 30 seconds at the moment).



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