dongjoon-hyun commented on a change in pull request #25071: [SPARK-28292][SQL] 
Enable inject user-defined Hint
URL: https://github.com/apache/spark/pull/25071#discussion_r301876146
 
 

 ##########
 File path: 
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/Analyzer.scala
 ##########
 @@ -151,9 +156,10 @@ class Analyzer(
 
   lazy val batches: Seq[Batch] = Seq(
     Batch("Hints", fixedPoint,
-      new ResolveHints.ResolveJoinStrategyHints(conf),
-      ResolveHints.ResolveCoalesceHints,
-      new ResolveHints.RemoveAllHints(conf)),
+      new ResolveHints.ResolveJoinStrategyHints(conf) +:
+        ResolveHints.ResolveCoalesceHints +:
+        extendedResolutionHints :+
 
 Review comment:
   Oh, I see. 
   
   @gatorsmile and @cloud-fan . How do you think about this extension?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

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

Reply via email to