From 4c54595b072ffa9c5a36eb93d8918389d5068b5d Mon Sep 17 00:00:00 2001 From: Jingshu923 <52914166+Jingshu923@users.noreply.github.com> Date: Mon, 21 Jun 2021 09:46:20 +0800 Subject: [PATCH] [DataFacory]Update avroCompressionCodec and orcCompressionCodec from string to object (#14770) * [DataFacory]Update avroCompressionCodec and orcCompressionCodec from string to object * update json --- .../2018-06-01/entityTypes/Dataset.json | 54 +++++++++++-------- 1 file changed, 31 insertions(+), 23 deletions(-) diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Dataset.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Dataset.json index d403dc5bc04d..be57d507c018 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Dataset.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Dataset.json @@ -646,18 +646,8 @@ "description": "The location of the avro storage." }, "avroCompressionCodec": { - "type": "string", - "enum": [ - "none", - "deflate", - "snappy", - "xz", - "bzip2" - ], - "x-ms-enum": { - "name": "avroCompressionCodec", - "modelAsString": true - } + "type": "object", + "description": "The data avroCompressionCodec. Type: string (or Expression with resultType string)." }, "avroCompressionLevel": { "type": "integer", @@ -669,6 +659,20 @@ "location" ] }, + "AvroCompressionCodec": { + "type": "string", + "enum": [ + "none", + "deflate", + "snappy", + "xz", + "bzip2" + ], + "x-ms-enum": { + "name": "avroCompressionCodec", + "modelAsString": true + } + }, "ExcelDataset": { "x-ms-discriminator-value": "Excel", "description": "Excel dataset.", @@ -943,23 +947,27 @@ "description": "The location of the ORC data storage." }, "orcCompressionCodec": { - "type": "string", - "enum": [ - "none", - "zlib", - "snappy", - "lzo" - ], - "x-ms-enum": { - "name": "orcCompressionCodec", - "modelAsString": true - } + "type": "object", + "description": "The data orcCompressionCodec. Type: string (or Expression with resultType string)." } }, "required": [ "location" ] }, + "OrcCompressionCodec": { + "type": "string", + "enum": [ + "none", + "zlib", + "snappy", + "lzo" + ], + "x-ms-enum": { + "name": "orcCompressionCodec", + "modelAsString": true + } + }, "BinaryDataset": { "x-ms-discriminator-value": "Binary", "description": "Binary dataset.",