Fix some sql ops and partitioning, work on predicates
Work on SQL example set