finds.dev

sryza/spark-timeseries

A library for time series analysis on Apache Spark

View on GitHub

★ 1,197ScalaApache-2.0updated Oct 2020

// the take

A Scala/Java/Python library for distributed time series analysis on Spark, covering ARIMA, GARCH, EWMA, Holt-Winters, and statistical tests like Augmented Dickey-Fuller. It's the closest thing the Spark ecosystem had to a pandas-timeseries equivalent before the author formally stepped back in 2018. Last commit was 2020; treat it as archived.

The TimeSeriesRDD abstraction is well-designed — it aligns multiple time series on a shared DateTimeIndex so windowed ops and resampling don't require per-series bookkeeping. Statistical model coverage is decent: ARIMA, ARIMAX, GARCH, and AR variants with Python bindings that delegate to the JVM, keeping a single implementation. Uses Breeze for BLAS-accelerated linear algebra rather than reinventing it. The test suite validates models against R-generated reference data, which is the right way to verify statistical correctness.

Abandoned — the author's own README says so, and the last real activity predates Spark 3.x, meaning you'll fight version incompatibilities immediately on any modern Spark cluster. No streaming support; everything is batch RDD-based, which misses the obvious use case of live sensor or market data. The Python layer is a thin JVM bridge with no native path, so debugging PySpark errors means chasing through Java stack traces. No support for irregular or multi-frequency time series in the same RDD — you need identical DateTimeIndex alignment across all series, which breaks on real-world financial or IoT data.

We read the README, the directory tree and a key source file in July 2026. Nobody pays to be listed. How we judge →

// at a glance

Stars
1,197
Forks
415
Language
Scala
License
Apache-2.0
Last commit
13 Oct 2020

// nearby

If spark-timeseries isn't quite it.

All repos →