Intel has a prototype for doing this, SaiSai and Jason are the authors. Probably you can ask them for some materials.
From: Mohit Anchlia [mailto:mohitanch...@gmail.com] Sent: Wednesday, March 11, 2015 8:12 AM To: user@spark.apache.org Subject: SQL with Spark Streaming Does Spark Streaming also supports SQLs? Something like how Esper does CEP.