Return in case of SemanticException in analyze internal

For queries having subqueries in from clause catch SemanticException and return.