It is better to cook vegetables such as eggplant before eating during pregnancy as it reduces the risk of bacterial and parasitic infections. Raw eggplants may also upset your digestive system.