You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2016/03/28 04:41:25 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=15213734#comment-15213734 ] 

Apache Spark commented on SPARK-14185:
--------------------------------------

User 'sarutak' has created a pull request for this issue:
https://github.com/apache/spark/pull/11990

> 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
>            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