Make sure output schema and indexes are generated for the subexpression nodes