Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In the Oracle batch Source (version 1.8.5), you can edit the scale of the CDAP decimal data type in the output schema, and the overridden value is used to map the Oracle NUMBER data type without failing the pipeline. If there are any Numbers present in the fields with the scale greater than the scale defined in the plugin, CDAP rounds the values based on the scale set by the user in the output schema.  For example, if you specify precision=10, scale = 3 and the value 123.4567 comes in, CDAP rounds to 123.457. For more information about setting precision and scale in a plugin, see Changing the precision and scale for decimal fields in the output schema.

...