You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by db...@apache.org on 2017/02/21 07:50:54 UTC
ambari git commit: Hive View 2.0: Alter table should not allow
setting existing column or new columns as partitioned or clustered.
(dipayanb)
Repository: ambari
Updated Branches:
refs/heads/branch-2.5 010305d39 -> 2a38ff199
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/2a38ff19
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/2a38ff19
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/2a38ff19
Branch: refs/heads/branch-2.5
Commit: 2a38ff1997919bc1c7c2269818586d4d7437e043
Parents: 010305d
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:20:30 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/2a38ff19/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>