You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Kousuke Saruta (JIRA)" <ji...@apache.org> on 2016/04/06 19:53:25 UTC
[jira] [Resolved] (SPARK-14185) Make indentation of debug log for
generated code proper
[ https://issues.apache.org/jira/browse/SPARK-14185?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kousuke Saruta resolved SPARK-14185.
------------------------------------
Resolution: Fixed
> Make indentation of debug log for generated code proper
> -------------------------------------------------------
>
> Key: SPARK-14185
> URL: https://issues.apache.org/jira/browse/SPARK-14185
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Affects Versions: 2.0.0
> Reporter: Kousuke Saruta
> Assignee: Kousuke Saruta
> Priority: Trivial
>
> The indentation of debug log output by `CodeGenerator` is weird.
> The first line of the generated code should be put on the next line of the first line of the log message.
> {code}
> 16/03/28 11:10:24 DEBUG CodeGenerator: /* 001 */
> /* 002 */ public java.lang.Object generate(Object[] references) {
> /* 003 */ return new SpecificSafeProjection(references);
> ...
> {code}
> After this patch is applied, we get debug log like as follows.
> {code}
> 16/03/28 10:45:50 DEBUG CodeGenerator:
> /* 001 */
> /* 002 */ public java.lang.Object generate(Object[] references) {
> /* 003 */ return new SpecificSafeProjection(references);
> ...
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org