You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@atlas.apache.org by sa...@apache.org on 2020/12/15 21:29:07 UTC
[atlas] branch master updated: ATLAS-4082: Added more attributes
like create or last modify time, contentLength etc. to ADLS Gen2 types
This is an automated email from the ASF dual-hosted git repository.
sarath pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/atlas.git
The following commit(s) were added to refs/heads/master by this push:
new 321c6b8 ATLAS-4082: Added more attributes like create or last modify time, contentLength etc. to ADLS Gen2 types
321c6b8 is described below
commit 321c6b8383812ea7b3a27c02544d513e89bcdc59
Author: sidmishra <si...@cloudera.com>
AuthorDate: Tue Dec 15 12:41:13 2020 -0800
ATLAS-4082: Added more attributes like create or last modify time, contentLength etc. to ADLS Gen2 types
Signed-off-by: Sarath Subramanian <sa...@apache.org>
---
.../patches/005-azure_adls_add_attributes.json | 254 +++++++++++++++++++++
1 file changed, 254 insertions(+)
diff --git a/addons/models/3000-Cloud/patches/005-azure_adls_add_attributes.json b/addons/models/3000-Cloud/patches/005-azure_adls_add_attributes.json
new file mode 100644
index 0000000..ce87d45
--- /dev/null
+++ b/addons/models/3000-Cloud/patches/005-azure_adls_add_attributes.json
@@ -0,0 +1,254 @@
+{
+ "patches": [
+ {
+ "id": "TYPEDEF_PATCH_3000_005_001",
+ "description": "Add attributes to Azure ADLS Account",
+ "action": "ADD_ATTRIBUTE",
+ "typeName": "adls_gen2_account",
+ "applyToVersion": "1.0",
+ "updateToVersion": "1.1",
+ "attributeDefs": [
+ {
+ "name": "skuName",
+ "typeName": "string",
+ "cardinality": "SINGLE",
+ "isIndexable": true,
+ "isOptional": true,
+ "isUnique": false
+ }
+ ]
+ },
+ {
+ "id": "TYPEDEF_PATCH_3000_005_002",
+ "description": "Add attributes to Azure ADLS container",
+ "action": "ADD_ATTRIBUTE",
+ "typeName": "adls_gen2_container",
+ "applyToVersion": "1.0",
+ "updateToVersion": "1.1",
+ "attributeDefs": [
+ {
+ "name": "lastModifiedTime",
+ "typeName": "date",
+ "cardinality": "SINGLE",
+ "isIndexable": true,
+ "isOptional": true,
+ "isUnique": false
+ },
+ {
+ "name": "publicAccess",
+ "typeName": "string",
+ "cardinality": "SINGLE",
+ "isIndexable": true,
+ "isOptional": true,
+ "isUnique": false
+ }
+ ]
+ },
+ {
+ "id": "TYPEDEF_PATCH_3000_005_003",
+ "description": "Add attributes to Azure ADLS directory",
+ "action": "ADD_ATTRIBUTE",
+ "typeName": "adls_gen2_directory",
+ "applyToVersion": "1.0",
+ "updateToVersion": "1.1",
+ "attributeDefs": [
+ {
+ "name": "lastModifiedTime",
+ "typeName": "date",
+ "cardinality": "SINGLE",
+ "isIndexable": true,
+ "isOptional": true,
+ "isUnique": false
+ },
+ {
+ "name": "creationTime",
+ "typeName": "date",
+ "cardinality": "SINGLE",
+ "isIndexable": true,
+ "isOptional": true,
+ "isUnique": false
+ },
+ {
+ "name": "contentLength",
+ "typeName": "long",
+ "cardinality": "SINGLE",
+ "isIndexable": true,
+ "isOptional": true
+ },
+ {
+ "name": "contentMd5",
+ "typeName": "string",
+ "cardinality": "SINGLE",
+ "isIndexable": true,
+ "isOptional": true,
+ "isUnique": false
+ },
+ {
+ "name": "accessTier",
+ "typeName": "string",
+ "cardinality": "SINGLE",
+ "isIndexable": true,
+ "isOptional": true,
+ "isUnique": false
+ },
+ {
+ "name": "prefix",
+ "typeName": "string",
+ "cardinality": "SINGLE",
+ "isIndexable": true,
+ "isOptional": true,
+ "isUnique": false
+ },
+ {
+ "name": "remainingRetentionDays",
+ "typeName": "long",
+ "cardinality": "SINGLE",
+ "isIndexable": true,
+ "isOptional": true
+ },
+ {
+ "name": "type",
+ "typeName": "string",
+ "cardinality": "SINGLE",
+ "isIndexable": true,
+ "isOptional": true,
+ "isUnique": false
+ },
+ {
+ "name": "additionalProperties",
+ "typeName": "map<string,string>",
+ "cardinality": "SINGLE",
+ "isIndexable": false,
+ "isOptional": true,
+ "isUnique": false
+ }
+ ]
+ },
+ {
+ "id": "TYPEDEF_PATCH_3000_005_004",
+ "description": "Add attributes to Azure ADLS blob",
+ "action": "ADD_ATTRIBUTE",
+ "typeName": "adls_gen2_blob",
+ "applyToVersion": "1.0",
+ "updateToVersion": "1.1",
+ "attributeDefs": [
+ {
+ "name": "lastModifiedTime",
+ "typeName": "date",
+ "cardinality": "SINGLE",
+ "isIndexable": true,
+ "isOptional": true,
+ "isUnique": false
+ },
+ {
+ "name": "creationTime",
+ "typeName": "date",
+ "cardinality": "SINGLE",
+ "isIndexable": true,
+ "isOptional": true,
+ "isUnique": false
+ },
+ {
+ "name": "contentLength",
+ "typeName": "long",
+ "cardinality": "SINGLE",
+ "isIndexable": true,
+ "isOptional": true
+ },
+ {
+ "name": "contentMd5",
+ "typeName": "string",
+ "cardinality": "SINGLE",
+ "isIndexable": true,
+ "isOptional": true,
+ "isUnique": false
+ },
+ {
+ "name": "accessTier",
+ "typeName": "string",
+ "cardinality": "SINGLE",
+ "isIndexable": true,
+ "isOptional": true,
+ "isUnique": false
+ },
+ {
+ "name": "prefix",
+ "typeName": "string",
+ "cardinality": "SINGLE",
+ "isIndexable": true,
+ "isOptional": true,
+ "isUnique": false
+ },
+ {
+ "name": "remainingRetentionDays",
+ "typeName": "long",
+ "cardinality": "SINGLE",
+ "isIndexable": true,
+ "isOptional": true
+ },
+ {
+ "name": "contentEncoding",
+ "typeName": "string",
+ "cardinality": "SINGLE",
+ "isIndexable": true,
+ "isOptional": true,
+ "isUnique": false
+ },
+ {
+ "name": "contentDisposition",
+ "typeName": "string",
+ "cardinality": "SINGLE",
+ "isIndexable": true,
+ "isOptional": true,
+ "isUnique": false
+ },
+ {
+ "name": "cacheControl",
+ "typeName": "string",
+ "cardinality": "SINGLE",
+ "isIndexable": true,
+ "isOptional": true,
+ "isUnique": false
+ }
+ ]
+ },
+ {
+ "id": "TYPEDEF_PATCH_3000_005_005",
+ "description": "Update 'contentType' attribute in adls_gen2_directory",
+ "action": "UPDATE_ATTRIBUTE",
+ "typeName": "adls_gen2_directory",
+ "applyToVersion": "1.1",
+ "updateToVersion": "1.2",
+ "params": null,
+ "attributeDefs": [
+ {
+ "name": "contentType",
+ "typeName": "string",
+ "cardinality": "SINGLE",
+ "isIndexable": true,
+ "isOptional": true,
+ "isUnique": false
+ }
+ ]
+ },
+ {
+ "id": "TYPEDEF_PATCH_3000_005_006",
+ "description": "Update 'contentType' attribute in adls_gen2_blob",
+ "action": "UPDATE_ATTRIBUTE",
+ "typeName": "adls_gen2_blob",
+ "applyToVersion": "1.1",
+ "updateToVersion": "1.2",
+ "params": null,
+ "attributeDefs": [
+ {
+ "name": "contentType",
+ "typeName": "string",
+ "cardinality": "SINGLE",
+ "isIndexable": true,
+ "isOptional": true,
+ "isUnique": false
+ }
+ ]
+ }
+ ]
+}