Github user mgaido91 commented on a diff in the pull request:

    https://github.com/apache/spark/pull/21911#discussion_r207509267
  
    --- Diff: 
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/ResolveHints.scala
 ---
    @@ -102,6 +104,38 @@ object ResolveHints {
         }
       }
     
    +  /**
    +   * COALESCE Hint accepts name "COALESCE" and "REPARTITION".
    +   * Its parameter includes a partition number.
    +   */
    +  class ResolveCoalesceHints(conf: SQLConf) extends Rule[LogicalPlan] {
    --- End diff --
    
    the `conf` is not used anywhere, we can remove it


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to