-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/36210/#review90544
-----------------------------------------------------------



exec/java-exec/src/main/java/org/apache/drill/exec/server/rest/profile/Comparators.java
 (line 68)
<https://reviews.apache.org/r/36210/#comment143654>

    Making these consistent is good, but I think the new names are confusing. I 
would make these end in comparator or just remove the suffix. They are declared 
withint an interface called Comparators which you have added a resonable 
comment to describe them all.
    
    Looking where these are referenced below, they aren't using static imports, 
so we end up writing Comparators.fragPeakMemoryCompare, I think you can just 
change it so we reference them as Comparators.fragPeakMemory



exec/java-exec/src/main/java/org/apache/drill/exec/server/rest/profile/FragmentWrapper.java
 (line 103)
<https://reviews.apache.org/r/36210/#comment144207>

    Can we just change the name?


- Jason Altekruse


On July 6, 2015, 5:15 p.m., Sudheesh Katkam wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/36210/
> -----------------------------------------------------------
> 
> (Updated July 6, 2015, 5:15 p.m.)
> 
> 
> Review request for drill and Jason Altekruse.
> 
> 
> Bugs: DRILL-3341
>     https://issues.apache.org/jira/browse/DRILL-3341
> 
> 
> Repository: drill-git
> 
> 
> Description
> -------
> 
> DRILL-3341: Avoid recomputing stats in ProfileWrapper
> + Small optimizations and comments in OperatorWrapper and FragmentWrapper
> + Comparator renames for consistency
> + Move TableBuilder#toString logic to TableBuilder#build
> + Incorrect field names in profile page for failed queries
> 
> 
> Diffs
> -----
> 
>   
> exec/java-exec/src/main/java/org/apache/drill/exec/server/rest/profile/Comparators.java
>  20f76a2 
>   
> exec/java-exec/src/main/java/org/apache/drill/exec/server/rest/profile/FragmentWrapper.java
>  e395e3e 
>   
> exec/java-exec/src/main/java/org/apache/drill/exec/server/rest/profile/OperatorWrapper.java
>  403a23f 
>   
> exec/java-exec/src/main/java/org/apache/drill/exec/server/rest/profile/ProfileWrapper.java
>  dd26a76 
>   
> exec/java-exec/src/main/java/org/apache/drill/exec/server/rest/profile/TableBuilder.java
>  8616820 
>   exec/java-exec/src/main/resources/rest/profile/profile.ftl 46cdc83 
> 
> Diff: https://reviews.apache.org/r/36210/diff/
> 
> 
> Testing
> -------
> 
> will update
> 
> 
> Thanks,
> 
> Sudheesh Katkam
> 
>

Reply via email to