spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kousuke Saruta (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SPARK-14185) Make indentation of debug log for generated code proper
Date Mon, 28 Mar 2016 02:40:25 GMT

     [ https://issues.apache.org/jira/browse/SPARK-14185?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Kousuke Saruta updated SPARK-14185:
-----------------------------------
    Issue Type: Improvement  (was: Bug)

> 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


Mime
View raw message