Repository: ambari
Updated Branches:
  refs/heads/branch-2.4 8f50419c8 -> cd9e14908


AMABRI-17495. Pig - Pig Helper - Relational Operator - GROUP and COGROUP 
function when selected, param section display incorrect number of param.(Gaurav 
Nagar via dipayanb)


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

Branch: refs/heads/branch-2.4
Commit: cd9e14908948a12a22071fb2fea3c1c36425a8f6
Parents: 8f50419
Author: Dipayan Bhowmick <[email protected]>
Authored: Thu Jun 30 17:50:11 2016 +0530
Committer: Dipayan Bhowmick <[email protected]>
Committed: Thu Jun 30 17:50:11 2016 +0530

----------------------------------------------------------------------
 .../main/resources/ui/pig-web/app/assets/data/pigHelpers.json    | 4 ++--
 .../src/main/resources/ui/pig-web/app/components/helpers-data.js | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/cd9e1490/contrib/views/pig/src/main/resources/ui/pig-web/app/assets/data/pigHelpers.json
----------------------------------------------------------------------
diff --git 
a/contrib/views/pig/src/main/resources/ui/pig-web/app/assets/data/pigHelpers.json
 
b/contrib/views/pig/src/main/resources/ui/pig-web/app/assets/data/pigHelpers.json
index 90d11ac..6982bf0 100644
--- 
a/contrib/views/pig/src/main/resources/ui/pig-web/app/assets/data/pigHelpers.json
+++ 
b/contrib/views/pig/src/main/resources/ui/pig-web/app/assets/data/pigHelpers.json
@@ -18,14 +18,14 @@
       {
         "title":"Relational Operators",
         "helpers":[
-          "COGROUP %VAR% BY %VAR%",
+          "COGROUP %VAR1% BY %VAR2%",
           "CROSS %VAR1%, %VAR2%;",
           "DISTINCT %VAR%;",
           "FILTER %VAR% BY %COND%",
           "FLATTEN(%VAR%)",
           "FOREACH %DATA% GENERATE %NEW_DATA%",
           "FOREACH %DATA% {%NESTED_BLOCK%}",
-          "GROUP %VAR% BY %VAR%",
+          "GROUP %VAR1% BY %VAR2%",
           "GROUP %VAR% ALL",
           "JOIN %VAR% BY ",
           "LIMIT %VAR% %N%",

http://git-wip-us.apache.org/repos/asf/ambari/blob/cd9e1490/contrib/views/pig/src/main/resources/ui/pig-web/app/components/helpers-data.js
----------------------------------------------------------------------
diff --git 
a/contrib/views/pig/src/main/resources/ui/pig-web/app/components/helpers-data.js
 
b/contrib/views/pig/src/main/resources/ui/pig-web/app/components/helpers-data.js
index b36fee0..aefe506 100644
--- 
a/contrib/views/pig/src/main/resources/ui/pig-web/app/components/helpers-data.js
+++ 
b/contrib/views/pig/src/main/resources/ui/pig-web/app/components/helpers-data.js
@@ -36,14 +36,14 @@ module.exports = [
   {
     'title':'Relational Operators',
     'helpers':[
-      'COGROUP %VAR% BY %VAR%',
+      'COGROUP %VAR1% BY %VAR2%',
       'CROSS %VAR1%, %VAR2%;',
       'DISTINCT %VAR%;',
       'FILTER %VAR% BY %COND%',
       'FLATTEN(%VAR%)',
       'FOREACH %DATA% GENERATE %NEW_DATA%',
       'FOREACH %DATA% {%NESTED_BLOCK%}',
-      'GROUP %VAR% BY %VAR%',
+      'GROUP %VAR1% BY %VAR2%',
       'GROUP %VAR% ALL',
       'JOIN %VAR% BY ',
       'LIMIT %VAR% %N%',

Reply via email to