-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Component/s: Documentation, Table SQL / API
-
Labels:
The Scala code examples for the UDF type inference annotations are not correct.
For example: the following FunctionHint annotation
@FunctionHint( input = Array(@DataTypeHint("INT"), @DataTypeHint("INT")), output = @DataTypeHint("INT") )
needs to be changed to
@FunctionHint( input = Array(new DataTypeHint("INT"), new DataTypeHint("INT")), output = new DataTypeHint("INT") )
- links to