for typed queries, in case classes all columns other than time have to be Option since columns are non-uniform