Hi,
I noticed that the first function parameter in get_qual_from_partbound(**Relation rel**, Relation parent,is not used in the function.
Is it better to remove it like the attached patch ?
Best regards,houzj