spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tgodden <>
Subject Java: Return type of RDDFunctions.sliding(int, int)
Date Fri, 13 May 2016 07:40:53 GMT

We're trying to use PrefixSpan on sequential data, by passing a sliding
window over it. Spark Streaming is not an option.
RDDFunctions.sliding() returns an item of class RDD<Java.lang.Object>,
regardless of the original type of the RDD. Because of this, the
returned item seems to be pretty much worthless.
Is this a bug/nyi? Is there a way to circumvent this somehow?

Official docs:


View this message in context:
Sent from the Apache Spark User List mailing list archive at
View raw message