Github user cloud-fan commented on a diff in the pull request:
https://github.com/apache/spark/pull/20405#discussion_r164338606
--- Diff: sql/core/src/main/scala/org/apache/spark/sql/Dataset.scala ---
@@ -1216,7 +1216,7 @@ class Dataset[T] private[sql](
*/
@scala.annotation.varargs
def hint(name: String, parameters: Any*): Dataset[T] = withTypedPlan {
- UnresolvedHint(name, parameters, logicalPlan)
+ UnresolvedHint(name, parameters, planWithBarrier)
--- End diff --
a possible workaround is to explicitly go through the barrier in the hint
resolution rules, so that we can still use barrier here and skip analysis in
other analyzer rules.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]