Introduced CantHandleQueryException to fail query compilation in the period moving over to new query plans and runtime