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/05/26 07:31: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=16025929#comment-16025929 ]
ASF GitHub Bot commented on FLINK-6724:
---------------------------------------
GitHub user zentol opened a pull request:
https://github.com/apache/flink/pull/3995
[FLINK-6724] Include class name in UDFUtils#checkForInstantiation exceptions
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/zentol/flink 6724_exc_class
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/3995.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #3995
----
commit 48e7c27e26573b2bb0266c6945b8e27a4a22b4c2
Author: zentol <ch...@apache.org>
Date: 2017-05-26T07:29:00Z
[FLINK-6724] Include class name in UDFUtils#checkForInstantiation exceptions
----
> 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)