snuyanzin commented on code in PR #26823: URL: https://github.com/apache/flink/pull/26823#discussion_r2249274387
########## flink-table/flink-table-planner/src/test/scala/org/apache/flink/table/planner/runtime/batch/sql/CalcITCase.scala: ########## @@ -857,22 +857,22 @@ class CalcITCase extends BatchTestBase { } // TODO -// @Test -// def testUDFWithGetResultTypeFromLiteral(): Unit = { -// registerFunction("hashCode0", LiteralHashCode) -// registerFunction("hashCode1", LiteralHashCode) -// val data = Seq(row("a"), row("b"), row("c")) -// tEnv.registerCollection("MyTable", data, new RowTypeInfo(STRING_TYPE_INFO), "text") -// checkResult( -// "SELECT hashCode0(text, 'int') FROM MyTable", -// Seq(row(97), row(98), row(99) -// )) -// -// checkResult( -// "SELECT hashCode1(text, 'string') FROM MyTable", -// Seq(row("str97"), row("str98"), row("str99") -// )) -// } + // @Test + // def testUDFWithGetResultTypeFromLiteral(): Unit = { + // registerFunction("hashCode0", LiteralHashCode) + // registerFunction("hashCode1", LiteralHashCode) + // val data = Seq(row("a"), row("b"), row("c")) + // tEnv.registerCollection("MyTable", data, new RowTypeInfo(STRING_TYPE_INFO), "text") + // checkResult( + // "SELECT hashCode0(text, 'int') FROM MyTable", + // Seq(row(97), row(98), row(99) + // )) + // + // checkResult( + // "SELECT hashCode1(text, 'string') FROM MyTable", + // Seq(row("str97"), row("str98"), row("str99") + // )) + // } Review Comment: please undo these changes -- 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