You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by jo...@apache.org on 2017/02/21 17:18:57 UTC

[17/28] ambari git commit: Hive View 2.0: Alter table should not allow setting existing column or new columns as partitioned or clustered. (dipayanb)

Hive View 2.0: Alter table should not allow setting existing column or new columns as partitioned or clustered. (dipayanb)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/e585eb6e
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/e585eb6e
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/e585eb6e

Branch: refs/heads/branch-feature-AMBARI-20053
Commit: e585eb6ee1aeff2e391aabae9789a0f85cb76728
Parents: fb01ba5
Author: Dipayan Bhowmick <di...@gmail.com>
Authored: Tue Feb 21 13:20:30 2017 +0530
Committer: Dipayan Bhowmick <di...@gmail.com>
Committed: Tue Feb 21 13:21:25 2017 +0530

----------------------------------------------------------------------
 .../main/resources/ui/app/templates/components/column-item.hbs   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/e585eb6e/contrib/views/hive20/src/main/resources/ui/app/templates/components/column-item.hbs
----------------------------------------------------------------------
diff --git a/contrib/views/hive20/src/main/resources/ui/app/templates/components/column-item.hbs b/contrib/views/hive20/src/main/resources/ui/app/templates/components/column-item.hbs
index 21418c1..762c77c 100644
--- a/contrib/views/hive20/src/main/resources/ui/app/templates/components/column-item.hbs
+++ b/contrib/views/hive20/src/main/resources/ui/app/templates/components/column-item.hbs
@@ -91,14 +91,14 @@
               <div class="col-sm-offset-2 col-sm-10">
                 <div class="checkbox">
                   <label>
-                    {{input type="checkbox" checked=column.isPartitioned disabled=(not column.editing)}} Partitioned
+                    {{input type="checkbox" checked=column.isPartitioned disabled=(or (not column.editing) editMode)}} Partitioned
                   </label>
                 </div>
               </div>
               <div class="col-sm-offset-2 col-sm-10">
                 <div class="checkbox">
                   <label>
-                    {{input type="checkbox" checked=column.isClustered disabled=(not column.editing)}} Clustered
+                    {{input type="checkbox" checked=column.isClustered disabled=(or (not column.editing) editMode)}} Clustered
                   </label>
                 </div>
               </div>