case class based indexing approach
typos are bad
Add a spark sql demo