wuchong commented on a change in pull request #15768:
URL: https://github.com/apache/flink/pull/15768#discussion_r623933402
##########
File path:
flink-table/flink-table-planner-blink/src/test/scala/org/apache/flink/table/planner/runtime/stream/table/CalcITCase.scala
##########
@@ -529,6 +529,27 @@ class CalcITCase(mode: StateBackendMode) extends
StreamingWithStateTestBase(mode
val expected = List("0,0,0", "1,1,1", "2,2,2")
assertEquals(expected.sorted, sink.getAppendResults.sorted)
}
+
+ /**
+ * This is an edition of [[CalcITCase.testMap()]] that uses * as one
argument of the UDFs.
+ */
+ @Test
+ def testUserDefinedFunctionWithStarParameter(): Unit = {
+ val ds = env.fromCollection(smallTupleData3).toTable(tEnv, 'a, 'b, 'c)
+ .map(Func23('*)).as("a", "b", "c", "d")
+ .map(Func24('*)).as("a", "b", "c", "d")
+ .map(Func1('b))
Review comment:
Could you also test `where`, `select` too? I remember you tested it in
the original test.
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]