Share via

error with numeric columns in a PostgreSQL connection via ADF integration runtime 5.64.9558.1

Arinda Dollekamp 0 Reputation points
2026-05-05T10:11:23.47+00:00

The decimal numbers are multiplied with this version of the integration runtime. How do i fix this?

Azure Database for PostgreSQL

2 answers

Sort by: Most helpful
  1. Amira Bedhiafi 41,386 Reputation points MVP Volunteer Moderator
    2026-05-05T11:46:07.78+00:00

    Hello Arinda !

    Thank you for posting on MS Learn Q&A.

    I don't think you have an issue with PostgreSQL but with your SHIR and as a workaround you can roll back the SHIR version as mentioned in this old thread https://learn.microsoft.com/en-us/answers/questions/5626895/error-with-numeric-columns-in-a-postgresql-connect

    For version 5.64.9558.1 you need to upgrade first to the newer SHIR version 5.65.9593.1.

    https://www.microsoft.com/en-us/download/details.aspx?id=39717

    and if the issue remains simply downgrade to a previous stable SHIR version for example 5.62.9520.4 or 5.61.9481.1.

    Then register again the SHIR using the same authentication key and rerun a small test copy with a known value for example 123.45.

    Was this answer helpful?

    0 comments No comments

  2. Q&A Assist
    2026-05-05T10:11:45.27+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    Decimal or numeric issues in Azure Data Factory pipelines are commonly caused by mismatches between source/target data types or how null/empty values and precision/scale are handled during copy.

    For numeric/decimal columns being multiplied or otherwise changed when moving data via Integration Runtime:

    1. Verify precision/scale definitions
      • Check the PostgreSQL column definitions (NUMERIC/DECIMAL precision and scale).
      • Check the corresponding sink column definitions (for example, in Azure SQL, Synapse, or SQL Server) and ensure they match the same precision and scale.
      • Mismatched precision/scale can cause rounding or unexpected numeric transformations.
    2. Check for empty-string or null handling in numeric columns
      • When using staged copy/PolyBase into Synapse or SQL-based sinks, empty strings in numeric columns can cause errors or unexpected behavior.
      • If using PolyBase in the sink, set use type default to false in the copy activity’s PolyBase settings so that empty strings are not forced into numeric defaults that could distort values.
    3. Review transformations in the pipeline
      • Inspect Mapping Data Flows, Derived Columns, or any expressions that might be multiplying or scaling numeric values (for example, implicit casts, arithmetic operations, or default values).
      • Remove or correct any transformation that changes the numeric scale unintentionally.
    4. Validate with a minimal test
      • Create a small test table in PostgreSQL with known numeric values.
      • Run a simple copy activity with no transformations and compare source vs. sink values to identify where the multiplication occurs (source, IR, or sink).

    If the issue persists only with a specific Integration Runtime version, capture a minimal reproducible pipeline and open a support case so that the behavior can be compared against expected numeric handling.


    References:

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.