[#2708] Wrong SQL rendered for CAST(x AS DECIMAL(y, z)). Precision and
scale are lost.