Skip to content
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

[DataFactory] Enable Avro Dataset in Public Swagger #6560

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -533,6 +533,54 @@
}
}
},
"AvroDataset": {
"x-ms-discriminator-value": "Avro",
"description": "Avro dataset.",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/Dataset"
}
],
"properties": {
"typeProperties": {
"description": "Avro dataset properties.",
"x-ms-client-flatten": true,
"$ref": "#/definitions/AvroDatasetTypeProperties"
}
}
},
"AvroDatasetTypeProperties": {
"description": "Avro dataset properties.",
"properties": {
"location": {
"$ref": "#/definitions/DatasetLocation",
"description": "The location of the avro storage."
},
"avroCompressionCodec": {
"type": "string",
"enum": [
"none",
"deflate",
"snappy",
"xz",
"bzip2"
],
"x-ms-enum": {
"name": "avroCompressionCodec",
"modelAsString": true
}
},
"avroCompressionLevel": {
"type": "integer",
"minimum": 1,
"maximum": 9
}
},
"required": [
"location"
]
},
"ParquetDatasetTypeProperties": {
"description": "Parquet dataset properties.",
"properties": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -657,6 +657,40 @@
"fileExtension"
]
},
"AvroWriteSettings": {
"description": "Delimited text write settings.",
Copy link
Contributor

@hvermis hvermis Jul 19, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix the description, should say Avro

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, will fix it later.

"type": "object",
"allOf": [
{
"$ref": "#/definitions/FormatWriteSettings"
}
],
"properties": {
"recordName": {
"type": "string",
"description": "Top level record name in write result, which is required in AVRO spec."
},
"recordNamespace": {
"type": "string",
"description": "Record namespace in the write result."
}
}
},
"AvroSource": {
"description": "A copy activity avro source.",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/CopySource"
}
],
"properties": {
"storeSettings": {
"$ref": "#/definitions/StoreReadSettings",
"description": "Avro store settings."
}
}
},
"ParquetSource": {
"description": "A copy activity Parquet source.",
"type": "object",
Expand Down Expand Up @@ -2156,6 +2190,25 @@
}
}
},
"AvroSink": {
"description": "A copy activity avro sink.",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/CopySink"
}
],
"properties": {
"storeSettings": {
"$ref": "#/definitions/StoreWriteSettings",
"description": "Avro store settings."
},
"formatSettings": {
"$ref": "#/definitions/AvroWriteSettings",
"description": "Avro format settings."
}
}
},
"ParquetSink": {
"description": "A copy activity Parquet sink.",
"type": "object",
Expand Down