Separate parser from SQL engine