Constraints & Projection extraction using sql parser
merge again???