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

    https://github.com/apache/spark/pull/21155#discussion_r186028360
  
    --- Diff: 
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/TypeCoercion.scala
 ---
    @@ -536,6 +536,15 @@ object TypeCoercion {
               case None => c
             }
     
    +      case s @ Sequence(_, _, _, timeZoneId) if !haveSameType(s.children) 
=>
    +        val types = s.children.map(_.dataType)
    +        findWiderCommonType(types) match {
    --- End diff --
    
    What if step is interval?


---

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

Reply via email to