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

Enable Avro Dataset in public swagger #6816

Merged
merged 2 commits into from
Jul 31, 2019
Merged
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 @@ -516,6 +516,54 @@
"bucketName"
]
},
"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"
]
},
"ParquetDataset": {
"x-ms-discriminator-value": "Parquet",
"description": "Parquet dataset.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -635,6 +635,25 @@
"type"
]
},
"AvroWriteSettings": {
"description": "Avro write settings.",
"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."
}
}
},
"DelimitedTextWriteSettings": {
"description": "Delimited text write settings.",
"type": "object",
Expand All @@ -657,6 +676,21 @@
"fileExtension"
]
},
"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 @@ -2578,6 +2612,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