cloud-fan commented on a change in pull request #24195: [SPARK-25496][SQL]
Deprecate from_utc_timestamp and to_utc_timestamp
URL: https://github.com/apache/spark/pull/24195#discussion_r271248668
##########
File path:
sql/core/src/test/scala/org/apache/spark/sql/streaming/StreamingAggregationSuite.scala
##########
@@ -342,52 +342,55 @@ class StreamingAggregationSuite extends
StateStoreMetricsTest with Assertions {
}
testWithAllStateVersions("prune results by current_date, complete mode") {
- import testImplicits._
- val clock = new StreamManualClock
- val tz = TimeZone.getDefault.getID
- val inputData = MemoryStream[Long]
- val aggregated =
- inputData.toDF()
- .select(to_utc_timestamp(from_unixtime('value *
DateTimeUtils.SECONDS_PER_DAY), tz))
Review comment:
this test was here long time ago, why we can pass test 4 days ago?
----------------------------------------------------------------
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]