Copilot commented on code in PR #9299:
URL: https://github.com/apache/seatunnel/pull/9299#discussion_r2083541129


##########
seatunnel-transforms-v2/src/main/java/org/apache/seatunnel/transform/sql/zeta/ZetaSQLFunction.java:
##########
@@ -202,6 +202,9 @@ public class ZetaSQLFunction {
 
     private final List<ZetaUDF> udfList;
 
+    // Add instance variable to track the current function being processed
+    private Function currentFunction = null;

Review Comment:
   [nitpick] Consider parameterizing the raw 'Function' type with appropriate 
generic types (e.g., Function<Expression, SeaTunnelDataType<?>>) to improve 
type safety and clarity.
   ```suggestion
       private Function<Expression, SeaTunnelDataType<?>> currentFunction = 
null;
   ```



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

Reply via email to