singhpk234 commented on code in PR #14179:
URL: https://github.com/apache/iceberg/pull/14179#discussion_r2377476426


##########
spark/v3.5/spark/src/main/java/org/apache/iceberg/spark/procedures/BaseProcedure.java:
##########
@@ -57,6 +58,14 @@ abstract class BaseProcedure implements Procedure {
       DataTypes.createMapType(DataTypes.StringType, DataTypes.StringType);
   protected static final DataType STRING_ARRAY = 
DataTypes.createArrayType(DataTypes.StringType);
 
+  protected static ProcedureParameter requiredInParameter(String name, 
DataType dataType) {
+    return ProcedureParameter.required(name, dataType);
+  }
+
+  protected static ProcedureParameter optionalInParameter(String name, 
DataType dataType) {
+    return ProcedureParameter.optional(name, dataType);
+  }

Review Comment:
   any reason why we didn't have this in 4.0 ? are we missing backport of some 
commit to 3.5 
   seems like not - 
https://github.com/apache/iceberg/commit/30ee7e83cfa3e5559d8d3ba4b6380156accb43f1
 
   
   can you please double confirm ?



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