Aldolase which can catalyze in vitro the aldolisation reaction between hydroxypyruvate (HPA) or pyruvate (PA) and D-glyceraldehyde (D-GA). The condensation of hydroxypyruvate and D-glyceraldehyde produces 2-dehydro-D-gluconate as the major product, (3R,4S,5R)-3,4,5,6-tetrahydroxy-2-oxohexanoate and 2-dehydro-D-galactonate. The condensation of pyruvate and D-glyceraldehyde produces 2-dehydro-3-deoxy-L-galactonate as the major product and 2-dehydro-3-deoxy-D-gluconate