You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/06/01 03:47:04 UTC

[jira] [Commented] (FLINK-6724) Include function class name in UserDefinedFunctionUtils exceptions

    [ https://issues.apache.org/jira/browse/FLINK-6724?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16032395#comment-16032395 ] 

ASF GitHub Bot commented on FLINK-6724:
---------------------------------------

Github user wuchong commented on the issue:

    https://github.com/apache/flink/pull/3995
  
    +1  looks good to me


> Include function class name in UserDefinedFunctionUtils exceptions
> ------------------------------------------------------------------
>
>                 Key: FLINK-6724
>                 URL: https://issues.apache.org/jira/browse/FLINK-6724
>             Project: Flink
>          Issue Type: Improvement
>          Components: Table API & SQL
>    Affects Versions: 1.4.0
>            Reporter: Chesnay Schepler
>            Assignee: Chesnay Schepler
>            Priority: Trivial
>
> The {{UserDefinedFunctionUtils #checkForInstantiation}} checks whether a given function can be instantiated. If this is not the case it throws an exception like this:
> {code}
> org.apache.flink.table.api.ValidationException: Function class is not public.
> {code}
> It would be nice to include the class name in the exception.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)