You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by rl...@apache.org on 2017/10/02 20:39:44 UTC

[33/50] [abbrv] ambari git commit: AMBARI-22090. INCORROUT in Hive SELECT-JOIN query using Hive View 2.0 (pallavkul)

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/branch-feature-AMBARI-20859
Commit: 045fc072588632429bc53f6b6a1ee0e0a83179d0
Parents: d3b67ee
Author: pallavkul <pa...@gmail.com>
Authored: Fri Sep 29 20:51:41 2017 +0530
Committer: pallavkul <pa...@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);
     });