Table of Contents

Search

  1. Preface
  2. Function reference
  3. Constants
  4. Operators
  5. Dates
  6. Functions
  7. System variables
  8. Datatype reference

Function Reference

Function Reference

Decimal and double values in advanced mode

Decimal and double values in advanced mode

In advanced mode, mappings use either high or low precision based on the types of hierarchical fields in the mapping. If the mapping has hierarchical fields that contain child fields with decimal data types, the mapping runs using low precision. Otherwise, the mapping runs using high precision.
When a mapping in advanced mode uses high precision, the
advanced cluster
handles decimal data types as decimals up to a precision of 38.
An
advanced cluster
and the Data Integration Server scale decimal values differently. The Data Integration Server allows the scale to differ among rows of decimal data, while an
advanced cluster
uses a fixed scale for each row. For example, when an
advanced cluster
processes the decimal 1.1234567 with scale 9, the output is 1.123456700. However, on the Data Integration Server, the output is 1.1234567.
When a mapping in advanced mode writes data to a flat file, decimal source values in exponential notation and with a scale of more than six are written without exponential notation to the target. For example, the decimal value 0E-20 in the source is written as 0.00000000000000000000 to the target.

0 COMMENTS

We’d like to hear from you!