Skip to content

Commit

Permalink
[DataFactory]Add AzurePostgreSql Sink and Oracle/SapTable/Netezza Par…
Browse files Browse the repository at this point in the history
…titions and Several Relational sets (#6617)

* [DataFactory]Add AzurePostgreSql Sink and Oracle/SapTable/Netezza Partitoins and dedicated datasets for relational

* Fix typo.

* update SapBwCube

* fix issue brought by merging from azure branch

* remove SapBwCube and Sybase for investigation

* will postpone SapBwSource in another coming PR.

* refine case of Oracle in description
  • Loading branch information
wenbof authored and praries880 committed Jul 19, 2019
1 parent fdeccee commit 05a52c5
Show file tree
Hide file tree
Showing 2 changed files with 321 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1413,6 +1413,84 @@
}
}
},
"OdbcTableDataset": {
"x-ms-discriminator-value": "OdbcTable",
"description": "The ODBC table dataset.",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/Dataset"
}
],
"properties": {
"typeProperties": {
"description": "ODBC table dataset properties.",
"x-ms-client-flatten": true,
"$ref": "#/definitions/OdbcTableDatasetTypeProperties"
}
}
},
"OdbcTableDatasetTypeProperties": {
"description": "ODBC table dataset properties.",
"properties": {
"tableName": {
"type": "object",
"description": "The ODBC table name. Type: string (or Expression with resultType string)."
}
}
},
"MySqlTableDataset": {
"x-ms-discriminator-value": "MySqlTable",
"description": "The MySQL table dataset.",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/Dataset"
}
],
"properties": {
"typeProperties": {
"description": "MySQL table dataset properties.",
"x-ms-client-flatten": true,
"$ref": "#/definitions/MySqlTableDatasetTypeProperties"
}
}
},
"MySqlTableDatasetTypeProperties": {
"description": "MySql table dataset properties.",
"properties": {
"tableName": {
"type": "object",
"description": "The MySQL table name. Type: string (or Expression with resultType string)."
}
}
},
"PostgreSqlTableDataset": {
"x-ms-discriminator-value": "PostgreSqlTable",
"description": "The PostgreSQL table dataset.",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/Dataset"
}
],
"properties": {
"typeProperties": {
"description": "PostgreSQL table dataset properties.",
"x-ms-client-flatten": true,
"$ref": "#/definitions/PostgreSqlTableDatasetTypeProperties"
}
}
},
"PostgreSqlTableDatasetTypeProperties": {
"description": "PostgreSQL table dataset properties.",
"properties": {
"tableName": {
"type": "object",
"description": "The PostgreSQL table name. Type: string (or Expression with resultType string)."
}
}
},
"MicrosoftAccessTableDataset": {
"x-ms-discriminator-value": "MicrosoftAccessTable",
"description": "The Microsoft Access table dataset.",
Expand Down Expand Up @@ -1878,7 +1956,24 @@
"typeProperties": {
"description": "Properties specific to this dataset type.",
"x-ms-client-flatten": true,
"$ref": "#/definitions/GenericDatasetTypeProperties"
"$ref": "#/definitions/AzurePostgreSqlTableDatasetTypeProperties"
}
}
},
"AzurePostgreSqlTableDatasetTypeProperties": {
"description": "Azure PostgreSQL dataset properties.",
"properties": {
"tableName": {
"type": "object",
"description": "The table name of the Azure PostgreSQL database which includes both schema and table. Type: string (or Expression with resultType string)."
},
"table": {
"type": "object",
"description": "The table name of the Azure PostgreSQL database. Type: string (or Expression with resultType string)."
},
"schema": {
"type": "object",
"description": "The schema name of the Azure PostgreSQL database. Type: string (or Expression with resultType string)."
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -999,6 +999,96 @@
}
}
},
"Db2Source": {
"description": "A copy activity source for Db2 databases.",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/CopySource"
}
],
"properties": {
"query": {
"type": "object",
"description": "Database query. Type: string (or Expression with resultType string)."
}
}
},
"OdbcSource": {
"description": "A copy activity source for ODBC databases.",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/CopySource"
}
],
"properties": {
"query": {
"type": "object",
"description": "Database query. Type: string (or Expression with resultType string)."
}
}
},
"MySqlSource": {
"description": "A copy activity source for MySQL databases.",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/CopySource"
}
],
"properties": {
"query": {
"type": "object",
"description": "Database query. Type: string (or Expression with resultType string)."
}
}
},
"PostgreSqlSource": {
"description": "A copy activity source for PostgreSQL databases.",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/CopySource"
}
],
"properties": {
"query": {
"type": "object",
"description": "Database query. Type: string (or Expression with resultType string)."
}
}
},
"SybaseSource": {
"description": "A copy activity source for Sybase databases.",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/CopySource"
}
],
"properties": {
"query": {
"type": "object",
"description": "Database query. Type: string (or Expression with resultType string)."
}
}
},
"ODataSource": {
"description": "A copy activity source for OData source.",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/CopySource"
}
],
"properties": {
"query": {
"type": "object",
"description": "OData query. For example, \"$top=1\". Type: string (or Expression with resultType string)."
}
}
},
"SalesforceSource": {
"description": "A copy activity Salesforce source.",
"type": "object",
Expand Down Expand Up @@ -1144,6 +1234,48 @@
"customRfcReadTableFunctionModule": {
"type": "object",
"description": "Specifies the custom RFC function module that will be used to read data from SAP Table. Type: string (or Expression with resultType string)."
},
"partitionOption": {
"description": "The partition mechanism that will be used for SAP table read in parallel.",
"type": "string",
"enum": [
"None",
"PartitionOnInt",
"PartitionOnCalendarYear",
"PartitionOnCalendarMonth",
"PartitionOnCalendarDate",
"PartitionOnTime"
],
"x-ms-enum": {
"name": "SapTablePartitionOption",
"modelAsString": true
}
},
"partitionSettings": {
"description": "The settings that will be leveraged for SAP table source partitioning.",
"$ref": "#/definitions/SapTablePartitionSettings"
}
}
},
"SapTablePartitionSettings": {
"description": "The settings that will be leveraged for SAP table source partitioning.",
"type": "object",
"properties": {
"partitionColumnName": {
"type": "object",
"description": "The name of the column that will be used for proceeding range partitioning. Type: string (or Expression with resultType string)."
},
"partitionUpperBound": {
"type": "object",
"description": "The maximum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string)."
},
"partitionLowerBound": {
"type": "object",
"description": "The minimum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string)."
},
"maxPartitionsNumber": {
"type": "object",
"description": "The maximum value of partitions the table will be split into. Type: integer (or Expression with resultType string)."
}
}
},
Expand Down Expand Up @@ -1418,6 +1550,49 @@
"queryTimeout": {
"type": "object",
"description": "Query timeout. Type: string (or Expression with resultType string), pattern: ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9]))."
},
"partitionOption": {
"description": "The partition mechanism that will be used for Oracle read in parallel.",
"type": "string",
"enum": [
"None",
"PhysicalPartitionsOfTable",
"DynamicRange"
],
"x-ms-enum": {
"name": "OraclePartitionOption",
"modelAsString": true
}
},
"partitionSettings": {
"description": "The settings that will be leveraged for Oracle source partitioning.",
"$ref": "#/definitions/OraclePartitionSettings"
}
}
},
"OraclePartitionSettings": {
"description": "The settings that will be leveraged for Oracle source partitioning.",
"type": "object",
"properties": {
"partitionNames": {
"type": "object",
"items": {
"type": "object",
"description": "Type: string (or Expression with resultType string)."
},
"description": "Names of the physical partitions of Oracle table. "
},
"partitionColumnName": {
"type": "object",
"description": "The name of the column in integer type that will be used for proceeding range partitioning. Type: string (or Expression with resultType string)."
},
"partitionUpperBound": {
"type": "object",
"description": "The maximum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string)."
},
"partitionLowerBound": {
"type": "object",
"description": "The minimum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string)."
}
}
},
Expand Down Expand Up @@ -1695,6 +1870,21 @@
}
}
},
"AzurePostgreSqlSink": {
"description": "A copy activity Azure PostgreSQL sink.",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/CopySink"
}
],
"properties": {
"preCopyScript": {
"type": "object",
"description": "A query to execute before starting the copy. Type: string (or Expression with resultType string)."
}
}
},
"ConcurSource": {
"description": "A copy activity Concur Service source.",
"type": "object",
Expand Down Expand Up @@ -2067,6 +2257,41 @@
"query": {
"type": "object",
"description": "A query to retrieve data from source. Type: string (or Expression with resultType string)."
},
"partitionOption": {
"description": "The partition mechanism that will be used for Netezza read in parallel.",
"type": "string",
"enum": [
"None",
"DataSlice",
"DynamicRange"
],
"x-ms-enum": {
"name": "NetezzaPartitionOption",
"modelAsString": true
}
},
"partitionSettings": {
"description": "The settings that will be leveraged for Netezza source partitioning.",
"$ref": "#/definitions/NetezzaPartitionSettings"
}
}
},
"NetezzaPartitionSettings": {
"description": "The settings that will be leveraged for Netezza source partitioning.",
"type": "object",
"properties": {
"partitionColumnName": {
"type": "object",
"description": "The name of the column in integer type that will be used for proceeding range partitioning. Type: string (or Expression with resultType string)."
},
"partitionUpperBound": {
"type": "object",
"description": "The maximum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string)."
},
"partitionLowerBound": {
"type": "object",
"description": "The minimum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string)."
}
}
},
Expand Down

0 comments on commit 05a52c5

Please sign in to comment.