MaxGekk commented on a change in pull request #26314: [SPARK-29371][SQL]
Support interval field values with fractional parts
URL: https://github.com/apache/spark/pull/26314#discussion_r340496376
##########
File path:
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/util/IntervalUtils.scala
##########
@@ -36,7 +36,7 @@ object IntervalUtils {
final val MICROS_PER_MINUTE: Long =
DateTimeUtils.MILLIS_PER_MINUTE * DateTimeUtils.MICROS_PER_MILLIS
final val DAYS_PER_MONTH: Byte = 30
- final val MICROS_PER_MONTH: Long = DAYS_PER_MONTH *
DateTimeUtils.SECONDS_PER_DAY
+ final val MICROS_PER_MONTH: Long = DAYS_PER_MONTH *
DateTimeUtils.MICROS_PER_DAY
Review comment:
Ooh!
----------------------------------------------------------------
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]