You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Stephan Ewen (JIRA)" <ji...@apache.org> on 2014/11/06 13:55:33 UTC
[jira] [Created] (FLINK-1221) Use program source line of invocation
as the default function name
Stephan Ewen created FLINK-1221:
-----------------------------------
Summary: Use program source line of invocation as the default function name
Key: FLINK-1221
URL: https://issues.apache.org/jira/browse/FLINK-1221
Project: Flink
Issue Type: Improvement
Components: Java API, Scala API
Affects Versions: 0.8-incubating
Reporter: Stephan Ewen
Priority: Minor
Fix For: 0.8-incubating
Right now, the default function name is {{getClass().getName()}}.
In many cases, this is not really very revealing. Using line in the source code where the function is invoked is more helpful.
This can be easily obtained by
{code}
Thread.getCurrentThread().getStackTrace()[0]
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)