The cinnamon, nutmeg, and ginger give both of these pies similar flavor profiles, but there are a few differences. Sweet potato is generally sweeter than pumpkin with a deeper, richer flavor. Pumpkin pie will be more custard like, while sweet potato pie is denser and creamier.