Bring stock in a pot to a simmer over medium heat.
Add the pineapple (including the juice) and ginger to the soup. Simmer for another 20 minutes.
Put the catfish in and simmer for another 10 minutes until it is cooked through.
Add the vegetables, tamarind, and sugar.
Bring the soup to a boil and serve with a side of white rice.