Skip to content

Commit

Permalink
Add sql parallel read properties (#9712)
Browse files Browse the repository at this point in the history
* add httpRequestTimeout to odata based connector activities

* add httpRequestTimeout to odata based connector activities

* add sql parallel read properties
  • Loading branch information
zhiyong-gayang authored Jun 5, 2020
1 parent 4e74467 commit 09ac2b3
Showing 1 changed file with 71 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2111,6 +2111,14 @@
"isolationLevel": {
"description": "Specifies the transaction locking behavior for the SQL source. Allowed values: ReadCommitted/ReadUncommitted/RepeatableRead/Serializable/Snapshot. The default value is ReadCommitted. Type: string (or Expression with resultType string).",
"type": "object"
},
"partitionOption": {
"description": "The partition mechanism that will be used for Sql read in parallel.",
"$ref": "#/definitions/SqlPartitionOption"
},
"partitionSettings": {
"description": "The settings that will be leveraged for Sql source partitioning.",
"$ref": "#/definitions/SqlPartitionSettings"
}
}
},
Expand Down Expand Up @@ -2141,6 +2149,14 @@
"produceAdditionalTypes": {
"description": "Which additional types to produce.",
"type": "object"
},
"partitionOption": {
"description": "The partition mechanism that will be used for Sql read in parallel.",
"$ref": "#/definitions/SqlPartitionOption"
},
"partitionSettings": {
"description": "The settings that will be leveraged for Sql source partitioning.",
"$ref": "#/definitions/SqlPartitionSettings"
}
}
},
Expand Down Expand Up @@ -2171,6 +2187,14 @@
"produceAdditionalTypes": {
"description": "Which additional types to produce.",
"type": "object"
},
"partitionOption": {
"description": "The partition mechanism that will be used for Sql read in parallel.",
"$ref": "#/definitions/SqlPartitionOption"
},
"partitionSettings": {
"description": "The settings that will be leveraged for Sql source partitioning.",
"$ref": "#/definitions/SqlPartitionSettings"
}
}
},
Expand Down Expand Up @@ -2201,6 +2225,14 @@
"produceAdditionalTypes": {
"description": "Which additional types to produce.",
"type": "object"
},
"partitionOption": {
"description": "The partition mechanism that will be used for Sql read in parallel.",
"$ref": "#/definitions/SqlPartitionOption"
},
"partitionSettings": {
"description": "The settings that will be leveraged for Sql source partitioning.",
"$ref": "#/definitions/SqlPartitionSettings"
}
}
},
Expand All @@ -2224,9 +2256,48 @@
"storedProcedureParameters": {
"type": "object",
"description": "Value and type setting for stored procedure parameters. Example: \"{Parameter1: {value: \"1\", type: \"int\"}}\". Type: object (or Expression with resultType object), itemType: StoredProcedureParameter."
},
"partitionOption": {
"description": "The partition mechanism that will be used for Sql read in parallel.",
"$ref": "#/definitions/SqlPartitionOption"
},
"partitionSettings": {
"description": "The settings that will be leveraged for Sql source partitioning.",
"$ref": "#/definitions/SqlPartitionSettings"
}
}
},
"SqlPartitionSettings": {
"description": "The settings that will be leveraged for Sql source partitioning.",
"type": "object",
"properties": {
"partitionColumnName": {
"type": "object",
"description": "The name of the column in integer or datetime type that will be used for proceeding partitioning. If not specified, the primary key of the table is auto-detected and used as the partition column. Type: string (or Expression with resultType string)."
},
"partitionUpperBound": {
"type": "object",
"description": "The maximum value of the partition column for partition range splitting. This value is used to decide the partition stride, not for filtering the rows in table. All rows in the table or query result will be partitioned and copied. Type: string (or Expression with resultType string)."
},
"partitionLowerBound": {
"type": "object",
"description": "The minimum value of the partition column for partition range splitting. This value is used to decide the partition stride, not for filtering the rows in table. All rows in the table or query result will be partitioned and copied. Type: string (or Expression with resultType string)."
}
}
},
"SqlPartitionOption": {
"description": "The partition mechanism that will be used for Sql read in parallel.",
"type": "string",
"enum": [
"None",
"PhysicalPartitionsOfTable",
"DynamicRange"
],
"x-ms-enum": {
"name": "SqlPartitionOption",
"modelAsString": true
}
},
"FileSystemSource": {
"description": "A copy activity file system source.",
"type": "object",
Expand Down

0 comments on commit 09ac2b3

Please sign in to comment.