You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by twalthr <gi...@git.apache.org> on 2017/11/13 13:35:38 UTC
[GitHub] flink pull request #4726: [FLINK-7678] [table] Support composite inputs for ...
Github user twalthr commented on a diff in the pull request:
https://github.com/apache/flink/pull/4726#discussion_r150539194
--- Diff: flink-libraries/flink-table/src/test/scala/org/apache/flink/table/expressions/UserDefinedScalarFunctionTest.scala ---
@@ -89,6 +90,14 @@ class UserDefinedScalarFunctionTest extends ExpressionTestBase {
"Nullable(f0)",
"Nullable(f0)",
"42")
+
+ // test row type input
+ testAllApis(
+ Func19('f11),
+ "Func19(f11)",
+ "Func19(f11)",
+ "12,true,1,2,3"
--- End diff --
No flattening is happening here. It calls the `toString` method of `Row`. If it would be flattened, then only the first field would be returned by the test base.
---