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

    https://github.com/apache/spark/pull/21196#discussion_r185115238
  
    --- Diff: 
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/util/DateTimeUtils.scala
 ---
    @@ -45,6 +45,7 @@ object DateTimeUtils {
       // it's 2440587.5, rounding up to compatible with Hive
       final val JULIAN_DAY_OF_EPOCH = 2440588
       final val SECONDS_PER_DAY = 60 * 60 * 24L
    +  final val SECONDS_PER_MONTH = 60 * 60 * 24 * 31D
    --- End diff --
    
    I see now your point, yes, I will inline the value as Hive does with a 
comment then, thanks.


---

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

Reply via email to