Support result type of TYPE_ASSOC or TYPE_NUM