From cf6bcae53af3df51a19a40ffc5d5a2b2a1d7392b Mon Sep 17 00:00:00 2001 From: Azure SDK Bot Date: Thu, 17 Oct 2019 09:45:05 +0800 Subject: [PATCH] Generated from 89e4b3f2e4d5f61efd6d0a1bdacfc1db7a912c85 (#6067) [DataFactory]Add CompressionCodec property for ORC Dataset --- .../datafactory/mgmt/datafactory/models.go | 11 +++++++++++ .../datafactory/mgmt/datafactory/models.go | 11 +++++++++++ .../mgmt/2018-06-01/datafactory/models.go | 19 +++++++++++++++++++ 3 files changed, 41 insertions(+) diff --git a/profiles/latest/datafactory/mgmt/datafactory/models.go b/profiles/latest/datafactory/mgmt/datafactory/models.go index 72a1b696a856..4f4a626ad275 100644 --- a/profiles/latest/datafactory/mgmt/datafactory/models.go +++ b/profiles/latest/datafactory/mgmt/datafactory/models.go @@ -393,6 +393,14 @@ const ( OraclePartitionOptionPhysicalPartitionsOfTable OraclePartitionOption = original.OraclePartitionOptionPhysicalPartitionsOfTable ) +type OrcCompressionCodec = original.OrcCompressionCodec + +const ( + OrcCompressionCodecNone OrcCompressionCodec = original.OrcCompressionCodecNone + OrcCompressionCodecSnappy OrcCompressionCodec = original.OrcCompressionCodecSnappy + OrcCompressionCodecZlib OrcCompressionCodec = original.OrcCompressionCodecZlib +) + type ParameterType = original.ParameterType const ( @@ -2310,6 +2318,9 @@ func PossibleODataAuthenticationTypeValues() []ODataAuthenticationType { func PossibleOraclePartitionOptionValues() []OraclePartitionOption { return original.PossibleOraclePartitionOptionValues() } +func PossibleOrcCompressionCodecValues() []OrcCompressionCodec { + return original.PossibleOrcCompressionCodecValues() +} func PossibleParameterTypeValues() []ParameterType { return original.PossibleParameterTypeValues() } diff --git a/profiles/preview/datafactory/mgmt/datafactory/models.go b/profiles/preview/datafactory/mgmt/datafactory/models.go index 98bdbbbd1c7e..fe18b9666ea5 100644 --- a/profiles/preview/datafactory/mgmt/datafactory/models.go +++ b/profiles/preview/datafactory/mgmt/datafactory/models.go @@ -393,6 +393,14 @@ const ( OraclePartitionOptionPhysicalPartitionsOfTable OraclePartitionOption = original.OraclePartitionOptionPhysicalPartitionsOfTable ) +type OrcCompressionCodec = original.OrcCompressionCodec + +const ( + OrcCompressionCodecNone OrcCompressionCodec = original.OrcCompressionCodecNone + OrcCompressionCodecSnappy OrcCompressionCodec = original.OrcCompressionCodecSnappy + OrcCompressionCodecZlib OrcCompressionCodec = original.OrcCompressionCodecZlib +) + type ParameterType = original.ParameterType const ( @@ -2310,6 +2318,9 @@ func PossibleODataAuthenticationTypeValues() []ODataAuthenticationType { func PossibleOraclePartitionOptionValues() []OraclePartitionOption { return original.PossibleOraclePartitionOptionValues() } +func PossibleOrcCompressionCodecValues() []OrcCompressionCodec { + return original.PossibleOrcCompressionCodecValues() +} func PossibleParameterTypeValues() []ParameterType { return original.PossibleParameterTypeValues() } diff --git a/services/datafactory/mgmt/2018-06-01/datafactory/models.go b/services/datafactory/mgmt/2018-06-01/datafactory/models.go index 83c721ad77b0..cf2a49dadfa8 100644 --- a/services/datafactory/mgmt/2018-06-01/datafactory/models.go +++ b/services/datafactory/mgmt/2018-06-01/datafactory/models.go @@ -806,6 +806,23 @@ func PossibleOraclePartitionOptionValues() []OraclePartitionOption { return []OraclePartitionOption{OraclePartitionOptionDynamicRange, OraclePartitionOptionNone, OraclePartitionOptionPhysicalPartitionsOfTable} } +// OrcCompressionCodec enumerates the values for orc compression codec. +type OrcCompressionCodec string + +const ( + // OrcCompressionCodecNone ... + OrcCompressionCodecNone OrcCompressionCodec = "none" + // OrcCompressionCodecSnappy ... + OrcCompressionCodecSnappy OrcCompressionCodec = "snappy" + // OrcCompressionCodecZlib ... + OrcCompressionCodecZlib OrcCompressionCodec = "zlib" +) + +// PossibleOrcCompressionCodecValues returns an array of possible values for the OrcCompressionCodec const type. +func PossibleOrcCompressionCodecValues() []OrcCompressionCodec { + return []OrcCompressionCodec{OrcCompressionCodecNone, OrcCompressionCodecSnappy, OrcCompressionCodecZlib} +} + // ParameterType enumerates the values for parameter type. type ParameterType string @@ -149818,6 +149835,8 @@ func (od *OrcDataset) UnmarshalJSON(body []byte) error { type OrcDatasetTypeProperties struct { // Location - The location of the ORC data storage. Location *DatasetLocation `json:"location,omitempty"` + // OrcCompressionCodec - Possible values include: 'OrcCompressionCodecNone', 'OrcCompressionCodecZlib', 'OrcCompressionCodecSnappy' + OrcCompressionCodec OrcCompressionCodec `json:"orcCompressionCodec,omitempty"` } // OrcFormat the data stored in Optimized Row Columnar (ORC) format.