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

    https://github.com/apache/spark/pull/16954#discussion_r103347540
  
    --- Diff: 
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/Analyzer.scala
 ---
    @@ -2332,6 +2337,11 @@ class Analyzer(
         override def apply(plan: LogicalPlan): LogicalPlan = 
plan.resolveExpressions {
           case e: TimeZoneAwareExpression if e.timeZoneId.isEmpty =>
             e.withTimeZone(conf.sessionLocalTimeZone)
    +      // Casts could be added in the subquery plan through the rule 
TypeCoercion while coercing
    +      // the types between the value expression and list query expression 
of IN expression.
    +      // We need to subject the subquery plan through ResolveTimeZone 
again to setup timezone
    +      // information for time zone aware expressions.
    +      case e: ListQuery => e.withNewPlan(ResolveTimeZone.apply(e.plan))
    --- End diff --
    
    @hvanhovell Thank you.. I will change.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to