-
Notifications
You must be signed in to change notification settings - Fork 5.6k
[DataFactory]Support schema property for dataset #5019
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -23,6 +23,10 @@ | |
| "type": "object", | ||
| "description": "Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement." | ||
| }, | ||
| "schema": { | ||
| "type": "object", | ||
| "description": "Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement." | ||
| }, | ||
| "linkedServiceName": { | ||
| "description": "Linked service reference.", | ||
| "$ref": "../datafactory.json#/definitions/LinkedServiceReference" | ||
|
|
@@ -71,6 +75,23 @@ | |
| } | ||
| } | ||
| }, | ||
| "DatasetSchemaDataElement": { | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Where is this model referenced?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It will be used for the newly added property "schema". Though we can't just refer "DatasetSchemaDataElement" there due to the "schema" property can take other types (i.e. string, expression object...) which eventually will convert to DatasetSchemaDataElement. This property actually just follows the same usage as "DatasetDataElement" |
||
| "description": "Columns that define the physical type schema of the dataset.", | ||
| "type": "object", | ||
| "properties": { | ||
| "name": { | ||
| "type": "object", | ||
| "description": "Name of the schema column. Type: string (or Expression with resultType string)." | ||
| }, | ||
| "type": { | ||
| "type": "object", | ||
| "description": "Type of the schema column. Type: string (or Expression with resultType string)." | ||
| } | ||
| }, | ||
| "additionalProperties": { | ||
| "type": "object" | ||
| } | ||
| }, | ||
| "DatasetStorageFormat": { | ||
| "discriminator": "type", | ||
| "description": "The format definition of a storage.", | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was this added newly to this version? Or was it there from the beginning but failed to be added in the swagger?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was newly added.