Clean up query with WITH clause
Add timezone spec
Optimize row selection sub result set for non cumulative queries
Support custom timestamp column
Sort out query specs
Use Time instead of DateTime
Add Query#to_sql method
Add lazy loading