This repository was archived by the owner on Dec 20, 2018. It is now read-only.

Description
Assuming your data follows a rigid schema, it would be great to allow Quark code to be type checked against it. E.g. something like
trait Schema{
def country: Field[String]
def age: Field[Int]
}
import quasar.quark._
object Example {
def main(args: Array[String]): Unit = {
val dataset = Dataset.loadTypedAs[Schema]("/prod/profiles")
val averageAge = dataset.groupBy(_.country).map(_.age).reduceBy(_.average)
val stream = averageAge.evalTo("/prod/profiles_2")
}
}
Quark puts Quasar into similar territory with Slick and Quill. Maybe there are things to learn.