Skip to content

Instantly share code, notes, and snippets.

@byF
byF / test.scala
Last active August 29, 2015 14:05
Scala script for the aggregation task http://www.aproint.com/aggregation-with-spark-sql
/*
(c) 2014 Zdenek Farana; use as is; no guarantees
Because of the bug in Spark SQL parser, test B works only with fork https://github.com/aproint/spark
*/
def measure(f: => Any):Double = {
val start = System.currentTimeMillis()