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/16 19:49:56 UTC

[atlas] branch branch-2.0 updated: ATLAS-4060: Update hive_db model to add new attribute - 'managedLocation'

This is an automated email from the ASF dual-hosted git repository.

sarath pushed a commit to branch branch-2.0
in repository https://gitbox.apache.org/repos/asf/atlas.git


The following commit(s) were added to refs/heads/branch-2.0 by this push:
     new a6ffa14  ATLAS-4060: Update hive_db model to add new attribute - 'managedLocation'
a6ffa14 is described below

commit a6ffa146a32b1bfdb43c017c9eec06fa36a01470
Author: Radhika Kundam <rk...@cloudera.com>
AuthorDate: Wed Dec 16 11:49:03 2020 -0800

    ATLAS-4060: Update hive_db model to add new attribute - 'managedLocation'
    
    Signed-off-by: Sarath Subramanian <sa...@apache.org>
    (cherry picked from commit 433ae4470f3a2853ff2319c11571ef15d2319875)
---
 .../patches/017-hive_db_add_managed_location.json  | 23 ++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/addons/models/1000-Hadoop/patches/017-hive_db_add_managed_location.json b/addons/models/1000-Hadoop/patches/017-hive_db_add_managed_location.json
new file mode 100644
index 0000000..e9bd153
--- /dev/null
+++ b/addons/models/1000-Hadoop/patches/017-hive_db_add_managed_location.json
@@ -0,0 +1,23 @@
+{
+  "patches": [
+    {
+      "id": "TYPEDEF_PATCH_1000_017_001",
+      "description": "Add 'managedLocation' attribute to hive_db",
+      "action": "ADD_ATTRIBUTE",
+      "typeName": "hive_db",
+      "applyToVersion": "1.4",
+      "updateToVersion": "1.5",
+      "params": null,
+      "attributeDefs": [
+        {
+          "name": "managedLocation",
+          "typeName": "string",
+          "cardinality": "SINGLE",
+          "isIndexable": false,
+          "isOptional": true,
+          "isUnique": false
+        }
+      ]
+    }
+  ]
+}