Aarthi created SPARK-27206: ------------------------------ Summary: Using slice method with streaming api's Interval on DStream Key: SPARK-27206 URL: https://issues.apache.org/jira/browse/SPARK-27206 Project: Spark Issue Type: Question Components: DStreams Affects Versions: 2.4.0 Environment: Linux, standalone spark Reporter: Aarthi
Hi. I am in need to slice a DStream that receives data from a custom receiver (implemented with Spark's Receiver). There are two options to do this 1. slice(fromTime: [Time|http://spark.apache.org/docs/2.3.1/api/scala/org/apache/spark/streaming/Time.html], toTime: [Time|http://spark.apache.org/docs/2.3.1/api/scala/org/apache/spark/streaming/Time.html]) 2. slice(interval: Interval) Although the second option is a public method, the Interval class is private. Can you please help me understand how to use this api with org.apache.spark.streaming.Interval ? Thanks, Aarthi -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org