I do not recommend using canned yams for this. Unfortunately, they contain too much water (even when drained) so I prefer using actual sweet potatoes to get the right consistency and so the pie sets up properly.