Catalyzes the final step in the metabolic pathway of hydroxyproline. {ECO:0000269|PubMed:20797690, ECO:0000269|PubMed:21998747}. This is the function of ENSG00000241935 (HOGA1, 4-hydroxy-2-oxoglutarate aldolase 1).