spark-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jacek Laskowski <>
Subject Implicit from ProcessingTime to scala.concurrent.duration.Duration?
Date Mon, 18 Apr 2016 17:23:30 GMT

While working with structured streaming (aka SparkSQL Streams :)) I
thought about adding

implicit def toProcessingTime(duration: Duration) = ProcessingTime(duration)

What do you think?

I think it'd improve the API:

.trigger(ProcessingTime(10 seconds))


.trigger(10 seconds)

(since it's not a release feature I didn't mean to file an issue in
JIRA - please guide if needed).

Jacek Laskowski
Mastering Apache Spark
Follow me at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message