DDC-3075 Added support for subqueries in NEW operator.