Skip to content

Commit 4c54595

Browse files
Jingshu923Andrew Sager
authored andcommitted
[DataFacory]Update avroCompressionCodec and orcCompressionCodec from string to object (Azure#14770)
* [DataFacory]Update avroCompressionCodec and orcCompressionCodec from string to object * update json
1 parent 7f06153 commit 4c54595

File tree

1 file changed

+31
-23
lines changed
  • specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes

1 file changed

+31
-23
lines changed

specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Dataset.json

Lines changed: 31 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -646,18 +646,8 @@
646646
"description": "The location of the avro storage."
647647
},
648648
"avroCompressionCodec": {
649-
"type": "string",
650-
"enum": [
651-
"none",
652-
"deflate",
653-
"snappy",
654-
"xz",
655-
"bzip2"
656-
],
657-
"x-ms-enum": {
658-
"name": "avroCompressionCodec",
659-
"modelAsString": true
660-
}
649+
"type": "object",
650+
"description": "The data avroCompressionCodec. Type: string (or Expression with resultType string)."
661651
},
662652
"avroCompressionLevel": {
663653
"type": "integer",
@@ -669,6 +659,20 @@
669659
"location"
670660
]
671661
},
662+
"AvroCompressionCodec": {
663+
"type": "string",
664+
"enum": [
665+
"none",
666+
"deflate",
667+
"snappy",
668+
"xz",
669+
"bzip2"
670+
],
671+
"x-ms-enum": {
672+
"name": "avroCompressionCodec",
673+
"modelAsString": true
674+
}
675+
},
672676
"ExcelDataset": {
673677
"x-ms-discriminator-value": "Excel",
674678
"description": "Excel dataset.",
@@ -943,23 +947,27 @@
943947
"description": "The location of the ORC data storage."
944948
},
945949
"orcCompressionCodec": {
946-
"type": "string",
947-
"enum": [
948-
"none",
949-
"zlib",
950-
"snappy",
951-
"lzo"
952-
],
953-
"x-ms-enum": {
954-
"name": "orcCompressionCodec",
955-
"modelAsString": true
956-
}
950+
"type": "object",
951+
"description": "The data orcCompressionCodec. Type: string (or Expression with resultType string)."
957952
}
958953
},
959954
"required": [
960955
"location"
961956
]
962957
},
958+
"OrcCompressionCodec": {
959+
"type": "string",
960+
"enum": [
961+
"none",
962+
"zlib",
963+
"snappy",
964+
"lzo"
965+
],
966+
"x-ms-enum": {
967+
"name": "orcCompressionCodec",
968+
"modelAsString": true
969+
}
970+
},
963971
"BinaryDataset": {
964972
"x-ms-discriminator-value": "Binary",
965973
"description": "Binary dataset.",

0 commit comments

Comments
 (0)