105105import org .apache .drill .exec .util .Utilities ;
106106import org .apache .drill .exec .work .foreman .ForemanSetupException ;
107107import org .apache .drill .exec .work .foreman .SqlUnsupportedException ;
108- import org . apache . drill . shaded . guava . com .google .common .base .Preconditions ;
109- import org . apache . drill . shaded . guava . com .google .common .base .Stopwatch ;
110- import org . apache . drill . shaded . guava . com .google .common .collect .ImmutableList ;
111- import org . apache . drill . shaded . guava . com .google .common .collect .Lists ;
112- import org . apache . drill . shaded . guava . com .google .common .collect .Sets ;
108+ import com .google .common .base .Preconditions ;
109+ import com .google .common .base .Stopwatch ;
110+ import com .google .common .collect .ImmutableList ;
111+ import com .google .common .collect .Lists ;
112+ import com .google .common .collect .Sets ;
113113import org .slf4j .Logger ;
114114import org .slf4j .LoggerFactory ;
115115
@@ -365,7 +365,7 @@ protected RelNode transform(PlannerType plannerType, PlannerPhase phase, RelNode
365365 * @param log Whether to log the planning phase.
366366 * @return The transformed relnode.
367367 */
368-
368+
369369
370370 // A simple cache key class that uses the relevant parameters
371371 public static class CacheKey {
@@ -389,26 +389,26 @@ public boolean equals(Object o) {
389389 logger .info ("Compare phase {} {} ,{} " , phase .equals (cacheKey .phase ), phase .name (), cacheKey .phase .name ());
390390 logger .info ("Compare plannerType {} {} {}" , plannerType .equals (cacheKey .plannerType ), plannerType .name () , cacheKey .plannerType .name ());
391391 logger .info ("Compare input {}" , input .deepEquals (cacheKey .input ));
392- return phase .name ().equals (cacheKey .phase .name ()) &&
392+ return phase .name ().equals (cacheKey .phase .name ()) &&
393393 plannerType .name ().equals (cacheKey .plannerType .name ()) &&
394- input .deepEquals (cacheKey .input ) &&
394+ input .deepEquals (cacheKey .input ) &&
395395 targetTraits .equals (cacheKey .targetTraits );
396396 }
397-
397+
398398 @ Override
399399 public int hashCode () {
400400 return Objects .hash (phase .name (), plannerType .name (), input .deepHashCode (), targetTraits );
401401 }
402402
403403 }
404404
405-
405+
406406 protected RelNode transform (PlannerType plannerType , PlannerPhase phase , RelNode input , RelTraitSet targetTraits ,
407407 boolean log ) {
408408 final Stopwatch watch = Stopwatch .createStarted ();
409409 final RuleSet rules = config .getRules (phase , input );
410410 final RelTraitSet toTraits = targetTraits .simplify ();
411-
411+
412412 // Create a cache key based on the input parameters
413413 CacheKey key = new CacheKey (plannerType , phase , input , targetTraits );
414414
@@ -417,7 +417,7 @@ protected RelNode transform(PlannerType plannerType, PlannerPhase phase, RelNode
417417 CustomCacheManager .logCacheStats ();
418418 return cachedResult ;
419419 }
420-
420+
421421 final RelNode output ;
422422 switch (plannerType ) {
423423 case HEP_BOTTOM_UP :
0 commit comments