When creating a mapping (e.g. ToDecimalMapping) with an invalid value (e.g. decimalPrecision=0), the builder accepts the invalid value as it is.
It would make finding the root cause much easier if the build() method would fail immediately for invalid values and throw an exception with a helpful error message, e.g. Precision must be a number between 1 and 36 but was 0..
See also exasol/sql-statement-builder#185
When creating a mapping (e.g.
ToDecimalMapping) with an invalid value (e.g.decimalPrecision=0), the builder accepts the invalid value as it is.It would make finding the root cause much easier if the
build()method would fail immediately for invalid values and throw an exception with a helpful error message, e.g.Precision must be a number between 1 and 36 but was 0..See also exasol/sql-statement-builder#185