autophagy commented on code in PR #29018:
URL: https://github.com/apache/flink/pull/29018#discussion_r3924081507


##########
docs/content.zh/docs/dev/table/functions/ptfs.md:
##########
@@ -2077,7 +2078,10 @@ public class DoublePTF extends ProcessTableFunction<Row> 
{
 void testDoublePTF() throws Exception {
   try (ProcessTableFunctionTestHarness<Row> harness =
     ProcessTableFunctionTestHarness.ofClass(DoublePTF.class)
-    .withTableArgument("input", DataTypes.of("ROW<value INT>"))
+    .withTableArgument(
+        TableArgument.forArgument("input")

Review Comment:
   I think `forName` is great (and yes, less repetitive 😅 )



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