libenchao commented on code in PR #23779: URL: https://github.com/apache/flink/pull/23779#discussion_r1415033772
########## flink-table/flink-table-planner/src/test/scala/org/apache/flink/table/planner/expressions/ScalarFunctionsTest.scala: ########## @@ -2661,6 +2665,37 @@ class ScalarFunctionsTest extends ScalarTypesTestBase { // "1996-11-10 06:55:44.333") } + @Test + def testRandAndIf(): Unit = { Review Comment: Currently we only have tests for rand with seed, actually the case reported in FLINK-33541 is without seed. I know currently the test suite cannot do this (check a expression/query runs without checking the expected result, or checking the result is in a range), so I won't have a strong opinion that we must add such a test case. -- 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: issues-unsubscr...@flink.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org