Repository: ambari Updated Branches: refs/heads/trunk ebaed6ad6 -> 9550b870b
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/9550b870 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/9550b870 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/9550b870 Branch: refs/heads/trunk Commit: 9550b870b10b2d42a0ec5c347cdab75ef4d03590 Parents: ebaed6a 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:45 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/9550b870/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/9550b870/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%',
