twalthr commented on a change in pull request #11280: [FLINK-16377][table] 
Support inline user defined functions in expression dsl
URL: https://github.com/apache/flink/pull/11280#discussion_r397267739
 
 

 ##########
 File path: 
flink-table/flink-table-api-java/src/test/java/org/apache/flink/table/expressions/resolver/ExpressionResolverTest.java
 ##########
 @@ -186,13 +249,37 @@ public void testResolvingExpressions() {
        }
 
        /**
-        * Test scalar function that uses legacy type inference logic.
+        * Test scalar function.
         */
+       @FunctionHint(
+               input = @DataTypeHint(inputGroup = InputGroup.ANY),
+               isVarArgs = true,
+               output = @DataTypeHint(value = "INTEGER NOT NULL",
+               bridgedTo = int.class))
 
 Review comment:
   nit: fix formatting

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


With regards,
Apache Git Services

Reply via email to