select cascade with partial func