ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a.@apache.org
Subject [09/50] [abbrv] ignite git commit: IGNITE-7255 Web Console: Fixed EXPLAIN execution on Queries screen.
Date Fri, 03 Aug 2018 09:58:22 GMT
IGNITE-7255 Web Console: Fixed EXPLAIN execution on Queries screen.


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

Branch: refs/heads/ignite-8446
Commit: d73211d2c1fc3897681a3abdc98c5eb383d24475
Parents: c2383e9
Author: Vasiliy Sisko <vsisko@gridgain.com>
Authored: Tue Jul 31 11:41:55 2018 +0700
Committer: Alexey Kuznetsov <akuznetsov@apache.org>
Committed: Tue Jul 31 11:41:55 2018 +0700

----------------------------------------------------------------------
 .../page-queries/components/queries-notebook/controller.js     | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/d73211d2/modules/web-console/frontend/app/components/page-queries/components/queries-notebook/controller.js
----------------------------------------------------------------------
diff --git a/modules/web-console/frontend/app/components/page-queries/components/queries-notebook/controller.js
b/modules/web-console/frontend/app/components/page-queries/components/queries-notebook/controller.js
index 09c4184..132f7f6 100644
--- a/modules/web-console/frontend/app/components/page-queries/components/queries-notebook/controller.js
+++ b/modules/web-console/frontend/app/components/page-queries/components/queries-notebook/controller.js
@@ -1546,6 +1546,10 @@ export class NotebookCtrl {
         };
 
         $scope.explain = (paragraph) => {
+            const nonCollocatedJoins = !!paragraph.nonCollocatedJoins;
+            const enforceJoinOrder = !!paragraph.enforceJoinOrder;
+            const collocated = !!paragraph.collocated;
+
             if (!$scope.queryAvailable(paragraph))
                 return;
 
@@ -1568,7 +1572,7 @@ export class NotebookCtrl {
 
                     ActivitiesData.post({ action: '/queries/explain' });
 
-                    return agentMgr.querySql(nid, args.cacheName, args.query, args.nonCollocatedJoins,
!!paragraph.enforceJoinOrder, false, false, args.pageSize, false, args.collocated);
+                    return agentMgr.querySql(nid, args.cacheName, args.query, nonCollocatedJoins,
enforceJoinOrder, false, false, args.pageSize, false, collocated);
                 })
                 .then((res) => _processQueryResult(paragraph, true, res))
                 .catch((err) => {


Mime
View raw message