ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pallav...@apache.org
Subject [2/2] ambari git commit: AMBARI-22090. INCORROUT in Hive SELECT-JOIN query using Hive View 2.0 (pallavkul)
Date Fri, 29 Sep 2017 15:24:18 GMT
AMBARI-22090. INCORROUT in Hive SELECT-JOIN query using Hive View 2.0 (pallavkul)


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

Branch: refs/heads/trunk
Commit: 045fc072588632429bc53f6b6a1ee0e0a83179d0
Parents: d3b67ee
Author: pallavkul <pallav.kul@gmail.com>
Authored: Fri Sep 29 20:51:41 2017 +0530
Committer: pallavkul <pallav.kul@gmail.com>
Committed: Fri Sep 29 20:51:41 2017 +0530

----------------------------------------------------------------------
 .../src/main/resources/ui/app/components/query-result-table.js     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/045fc072/contrib/views/hive20/src/main/resources/ui/app/components/query-result-table.js
----------------------------------------------------------------------
diff --git a/contrib/views/hive20/src/main/resources/ui/app/components/query-result-table.js
b/contrib/views/hive20/src/main/resources/ui/app/components/query-result-table.js
index be5c43a..48a0c00 100644
--- a/contrib/views/hive20/src/main/resources/ui/app/components/query-result-table.js
+++ b/contrib/views/hive20/src/main/resources/ui/app/components/query-result-table.js
@@ -44,7 +44,7 @@ export default Ember.Component.extend({
       tempColumn['label'] = column[0];
 
       let localValuePath = column[0];
-      tempColumn['valuePath'] = localValuePath.substring(localValuePath.lastIndexOf('.')
+1 , localValuePath.length);
+      tempColumn['valuePath'] = localValuePath.split(".").join('');
 
       columnArr.push(tempColumn);
     });


Mime
View raw message