Convert FLOAT to REAL or DOUBLE PRECISION
ProprietaryReplaces FLOAT(p) with REAL when its binary precision p is at most 24, and with DOUBLE PRECISION otherwise. A FLOAT without a precision becomes DOUBLE PRECISION. Oracle accepts a precision of up to 126, while PostgreSQL rejects anything above 53.
org. openrewrite. sql. ConvertFloatByPrecisionmod run . --recipe= org. openrewrite. sql. ConvertFloatByPrecisionInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.