Service d’analyse Azure qui regroupe l’intégration de données, l’entreposage de données d’entreprise et l’analytique Big Data. Précédemment appelé Azure SQL Data Warehouse.
Hi @LioTims,
Welcome to the Microsoft Q&A and thank you for posting your questions here.
Copy activity using PostgreSQL V2 connector in Azure Synapse/ADF fails with errorCode 2200 and UserErrorAzurePostgreSqlNpgsqlParseParamError. The error occurs when parsing numeric/decimal values (e.g., numeric(7,2)) due to a regression in the connector’s BigDecimal/NpgsqlDecimal type-mapping logic. This is not a schema or sink issue.
The V2 connector introduced new type-mapping for PostgreSQL numerics. When converting .NET System.Decimal to BigDecimal/NpgsqlDecimal, the connector builds an invalid string representation, causing System.FormatException (“Input string not in correct format”).
Workarounds:
- Cast problematic numeric columns in a PostgreSQL view:
-
CAST(column AS double precision)(fast but loses precision) -
CAST(column AS text)(preserves value; convert in sink later)
-
- Exclude the column and copy separately with cast.
- Temporarily switch to PostgreSQL V1 connector if V2 features are not required.