Skip to content

Commit 243000a

Browse files
Merge pull request #297784 from Lucky-Wang16/0407-Fix_AzureDB_postgresql_tablename
Update table and schema for Azure Database for PostgreSQL
2 parents 69000b4 + 265ef0d commit 243000a

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

articles/data-factory/connector-azure-database-for-postgresql.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ author: jianleishen
77
ms.subservice: data-movement
88
ms.topic: conceptual
99
ms.custom: synapse
10-
ms.date: 12/19/2024
10+
ms.date: 04/08/2025
1111
---
1212

1313
# Copy and transform data in Azure Database for PostgreSQL using Azure Data Factory or Synapse Analytics
@@ -296,8 +296,10 @@ To copy data from Azure Database for PostgreSQL, set the type property of the da
296296

297297
| Property | Description | Required |
298298
|:--- |:--- |:--- |
299-
| type | The type property of the dataset must be set to **AzurePostgreSqlTable** | Yes |
300-
| tableName | Name of the table | No (if "query" in activity source is specified) |
299+
| type | The type property of the dataset must be set to **AzurePostgreSqlTable**. | Yes |
300+
| schema | Name of the schema. | No (if "query" in activity source is specified) |
301+
| table | Name of the table/view. | No (if "query" in activity source is specified) |
302+
| tableName | Name of the table. This property is supported for backward compatibility. For new workload, use `schema` and `table`. | No (if "query" in activity source is specified) |
301303

302304
**Example**:
303305

@@ -310,7 +312,10 @@ To copy data from Azure Database for PostgreSQL, set the type property of the da
310312
"referenceName": "<AzurePostgreSql linked service name>",
311313
"type": "LinkedServiceReference"
312314
},
313-
"typeProperties": {}
315+
"typeProperties": {
316+
"schema": "<schema_name>",
317+
"table": "<table_name>"
318+
}
314319
}
315320
}
316321
```

0 commit comments

Comments
 (0)