Medium severitydata source
Power BI Refresh Error:
AzurePostgreSqlNpgsqlDataTypeNotSupported
What does this error mean?
A PostgreSQL column data type is not supported by the ADF Npgsql connector — certain PostgreSQL-specific types cannot be directly read.
Common causes
- 1The PostgreSQL table contains a column with a type such as arrays, hstore, composite types, or custom domain types not supported by Npgsql in ADF
- 2A tsvector, tsquery, or geometric type column is included in the copy
- 3A recently added PostgreSQL extension type is not yet supported by the ADF Npgsql driver version
How to fix it
- 1Identify the unsupported column from the error message and exclude it from the copy activity.
- 2Use a SQL query in the PostgreSQL source to cast the unsupported column to a supported type: CAST(col AS TEXT).
- 3Upgrade the self-hosted integration runtime to the latest version for newer Npgsql driver support.
Frequently asked questions
Official documentation: https://learn.microsoft.com/en-us/azure/data-factory/connector-troubleshoot-postgresql